Subject: Re: "Don't login as root, use the su command."
To: Bill Studenmund <wrstuden@nas.nasa.gov>
From: David Brownlee <abs@netbsd.org>
List: current-users
Date: 02/10/2000 22:31:58
On Thu, 10 Feb 2000, Bill Studenmund wrote:
> :-) Ok, I'll object. :-)
>
There has to be one...
> 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. ??
How about 'SU_FROM'?
(I like this idea :)
David/absolute