[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wrong behaviour of su



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