Alan Pope wrote:
On 16/02/06, Chris Green chris@areti.co.uk wrote:
I can thing of various nasty scripting ways of doing it but su is so close to what I want it seems a pity to re-invent an almost invented wheel.
can't you just do
$ sudo su - otheruser
or $ sudo -s -u otheruser
and with correctly setup sudoers file you can do this without a password.
JD