On Mon, 2002-03-25 at 14:22, Ron Stodden wrote:
> Got the answer:
> 
> An su to root creates the environment variable $USERNAME=root. The value
> of $USER is not changed.   Leaving the superuser state (exit or ^D)
> removes $USERNAME.
> 
> This is a change in 8.2 which Mandrake users have NOT been responsibly
> notified of beforehand.
> 
> What others are there?
> 
> 

[user@sQa user]$ su
Password:
[user@sQa user]# echo $USER
root
[root@sQa user]# echo $USERNAME
root
[root@sQa user]# echo $LOGNAME
root
[root@sQa evil7]#


I have no comments, or griefs about any of this, just sending in some
form of reproduction.

Tashi Delek

BTW: Never send out your real username(s) to mailing list, it's a bad
idea(tm).


-- 
Bryan Paxton
Public PGP key: http://www.deadhorse.net/bpaxton.gpg

Trying, the volition devoid of action, this is idleness. 
Doing, the volition replete in motion, a process.
Being that all things are impermanent, this process is constant.
If one realizes such, the process is in all actuality, one step.
A motion that can not be reversed, but may be halted.
Both ways does this sway.


Reply via email to