Subject: Re: "Don't login as root, use the su command."
To: Bill Studenmund <email@example.com>
From: David Maxwell <firstname.lastname@example.org>
Date: 02/11/2000 10:42:54
On Thu, Feb 10, 2000 at 02:05:24PM -0800, Bill Studenmund wrote:
> On Thu, 10 Feb 2000, David Brownlee wrote:
> > a) Status quo - NetBSD does the Wrong Thing some of the time.
> > b) Add several extra processes to fix it, unwanted overhead.
> > c) Remove the whole thing.
> While annoying to experienced users, the message is good for newbies. It
> tells them that they really shouldn't use root as their login account. :-)
> I think a lot of them need it.
An option would be tacking something like this onto the end of .login
echo "### We advise..."
echo "### don't do it..."
echo "### You won't see this again"
grep -v '###' ~/.login > ~/.loginx
mv ~/.loginx ~/.login ; echo "###"
Then you can be as verbose as you like, since it will only show up once.
Just make the text clear and emphatic enough that the one viewing is enough.
David Maxwell, email@example.comfirstname.lastname@example.org --> Although some of you out
there might find a microwave oven controlled by a Unix system an attractive
idea, controlling a microwave oven is easily accomplished with the smallest
of microcontrollers. - Russ Hersch - (Microcontroller primer and FAQ)