[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wrong behaviour of su
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: wrong behaviour of su
- From: Uwe Dippel <udippel_(_at_)_uniten_(_dot_)_edu_(_dot_)_my>
- Date: Sat, 03 Dec 2005 15:01:02 +0800
On Fri, 02 Dec 2005 18:16:31 +0800, Uwe Dippel wrote:
> # su bar
> passwd: login/uid mismatch, username argument required.
Sorted; but took me half a day:
bar has a SHELL of /usr/bin/passwd; so has foo.
In order to do something on their behalf, su -m foo will do (but not
change HOME, SHELL, PATH, TERM, LOGNAME, and USER).
Uwe
Visit your host, monkey.org