[ale] sudo shells [Was: Stupid Question Time]
mike at trausch.us
mike at trausch.us
Fri Feb 3 14:46:45 EST 2012
On 02/03/2012 01:34 PM, David Tomaschik wrote:
> It's kind of ironic: my motivation is "I like sudo -s because it keeps
> my home directory around" and yours is "I like sudo -i because it does
> not keep my home directory around."
>
> It's worth noting that using "sudo _some_command_" will also mess with
> your home directory if you run a command that creates files there.
True, but easily avoidable. Unless there is a good reason that I could
or should run something in my ${HOME} instead of root's home, I use the
-H parameter; in fact I do that as a matter of habit at my own command line.
--- Mike
--
A man who reasons deliberately, manages it better after studying Logic
than he could before, if he is sincere about it and has common sense.
--- Carveth Read, “Logic”
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 729 bytes
Desc: OpenPGP digital signature
Url : http://mail.ale.org/pipermail/ale/attachments/20120203/79415857/attachment.bin
More information about the Ale
mailing list