On Mon, Mar 25, 2002 at 02:24:56PM -0500, Charles A Edwards wrote:
> Ron Stodden <[EMAIL PROTECTED]> wrote:
> > If I now run a script, $USER delivers "ron", not the "root" which
> > previous Mandrakes delivered.
> > 
> > So just exactly what is going on, please?

8.1 didn't have the behaviour you say it did:
[breser@stream breser]$ cat /etc/mandrake-release
Mandrake Linux release 8.1 (Vitamin) for i586
[breser@stream breser]$ su
Password:
[root@stream breser]# echo $USER
breser
[root@stream breser]# users
breser breser

8.0's users behaves the same as 8.2's but $USER does change:
[breser@skull breser]$ cat /etc/mandrake-release
Linux Mandrake release 8.0 (Traktopel) for i586
[breser@skull breser]$ su
Password:
[root@skull breser]# echo $USER
root
[root@skull breser]# users
breser

-- 
Ben Reser <[EMAIL PROTECTED]>
http://ben.reser.org

What difference does it make to the dead, the orphans, and the homeless,
whether the mad destruction is wrought under the name of totalitarianism
or the holy name of liberty and democracy? - Ghandi

Reply via email to