Bug in /bin/su?
Craig Campbell
craig at attcan.UUCP
Sat Mar 9 06:20:58 AEST 1991
In article <1299 at kosman.UUCP> kevin at kosman.UUCP (Kevin O'Gorman) writes:
>I'm not sure I understand all the issues here, but I'm having trouble
>with /bin/su.
>
>After logging in, if I su to anything, it works as expected; if I then
>try to su to something else, there seems to be no actual change of
>which user I am.
Kevin, I did not notice any reference to which Unix OS you are running, so
this may be way off base, but have you tried,
su - <newuser>
instead of
su <newuser>
?
The first example MAY do what you desire (or not:-)).
>--
>Kevin O'Gorman ( kevin at kosman.UUCP, kevin%kosman.uucp at nrc.com )
>voice: 805-984-8042 Vital Computer Systems, 5115 Beachcomber, Oxnard, CA 93035
>Non-Disclaimer: my boss is me, and he stands behind everything I say.
Good Luck,
craig
More information about the Comp.sys.3b1
mailing list