[sudo-users] sudo -s giving login shell
Pierre-Yves Ritschard
pierre-yves.ritschard at oxalide.com
Wed Mar 16 04:45:10 EST 2005
hi
I'm using sudo version 1.6.8p6 on the latest openbsd snapshot.
I'm using the ksh shell and the system wide config is stored in
/etc/profile.
Users here are accustommed to using sudo -s to get a root shell.
But it doesn't load the /etc/profile as sudo doesn't load a login shell.
sudo ksh -l works fine but I'm wondering if there is a way of making
sudo -s start a login shell.
Thanks for your time.
More information about the sudo-users
mailing list