17 Apr
2007
17 Apr
'07
6:59 p.m.
2007/4/17, Elias Pipping <pipping@macports.org>:
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.
Hi, I believe "sudo -i" does exactly the same as a "sudo su -". Regards, Didier.