Subject: Re: "Don't login as root, use the su command."
To: David Brownlee <abs@netbsd.org>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: current-users
Date: 02/10/2000 14:05:24
On Thu, 10 Feb 2000, David Brownlee wrote:

> 	The message is output in the 'su -' case, which is bogus.
> 	We have three options:
> 	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.
> 
> 	I just cannot abide 'a', and 'b' seems like a bandaid, so I
> 	guess that leaves us 'c'.
> 
> 	Unless anyone really objects, thats just what I'll do :)

:-) Ok, I'll object. :-)

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.

Maybe an entry in the FAQ saying how to remove the message for slightly
more experienced users (those who've read why they shouldn't use root but
didn't think of editing .login directly).

Either that, or we need to make a difference between logging in and "su
-". Which kinda defeats the letter of what su - does. :-)

Maybe an environment varialbe SU_USER which is set when su su's you. ??

Take care,

Bill