[ale] sudo shells [Was: Stupid Question Time]
David Tomaschik
david at systemoverlord.com
Fri Feb 3 15:35:01 EST 2012
On Fri, Feb 3, 2012 at 2:46 PM, mike at trausch.us <mike at trausch.us> wrote:
> 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
>
I don't like to have options I "always use": that's what configuration
files are for. :) But I believe -H is equivalent to set_home as an
option in sudoers?
--
David Tomaschik
OpenPGP: 0x5DEA789B
http://systemoverlord.com
david at systemoverlord.com
More information about the Ale
mailing list