Be alert for the heimdal port's instance of "su"
Elias Pipping
pipping at macports.org
Mon Apr 16 21:32:51 PDT 2007
On Apr 16, 2007, at 11:14 PM, Ryan Schmidt wrote:
> A bit unrelated to your question, but: I've
> seen others use "sudo su -" but I haven't
> understood it. Why not use "sudo -s"? Isn't
> that equivalent?
In addition to what Landon said, you might also
end up with a different shell,
sudo -s
takes $SHELL whereas
sudo su
takes what you se[et] via 'chsh' when logged in
as root.
Regards,
Elias
More information about the macports-users
mailing list