On Apr 17, 2007, at 8:59 PM, Didier Arenzana wrote:
Hi,
I believe "sudo -i" does exactly the same as a "sudo su -".
Regards,
Didier.
Close, but there's still a difference:
$sudo -i
#env
SHELL=/bin/sh
TERM=screen
USER=root
SUDO_USER=pipping
SUDO_UID=501
PATH=/bin:/sbin:/usr/bi
2007/4/17, Elias Pipping <[EMAIL PROTECTED]>:
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 a
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
On Apr 16, 2007, at 14:14, Ryan Schmidt wrote:
On Apr 16, 2007, at 06:28, Tabitha McNerney wrote:
$ sudo su - postgres81
Whoops! That "su" is not the "su" you might be thinking of. That
"su" is:
/path/to/macports/bin/su as in /opt/local/bin/su
installed by the heimdal port.
A bit unr
On Apr 16, 2007, at 06:28, Tabitha McNerney wrote:
$ sudo su - postgres81
Whoops! That "su" is not the "su" you might be thinking of. That
"su" is:
/path/to/macports/bin/su as in /opt/local/bin/su
installed by the heimdal port.
A bit unrelated to your question, but: I've seen others use
I can't seem to recall why, but last week a port I was trying to install
depended on the heimdal port. So I installed it and went on my merry way ...
until today that is, when I ended up doing this for:
$ sudo su - postgres81
Whoops! That "su" is not the "su" you might be thinking of. That "su"