Subject: Re: "Don't login as root, use the su command."
To: Bill Studenmund <wrstuden@nas.nasa.gov>
From: Vebjorn Ljosa <ljosa@initio.no>
List: current-users
Date: 02/11/2000 16:58:14
Bill Studenmund <wrstuden@nas.nasa.gov> writes:
> On Thu, 10 Feb 2000, David Brownlee wrote:
>
> > > Maybe an environment varialbe SU_USER which is set when su su's you. ??
> >
> > How about 'SU_FROM'?
> > (I like this idea :)
>
> This would be fine. And it might help auditing too. :-)
hereabout we use $LOGNAME for this purpose, because that's what RCS
will use. how about having su set $LOGNAME?
--
Vebjorn Ljosa, Initio IT-losninger AS
http://www.initio.no/