cross-platform virus
Peter Garrett
peter.garrett at optusnet.com.au
Sun Apr 9 14:41:51 BST 2006
On Sun, 09 Apr 2006 23:29:25 +1000
Sasha Tsykin <stsykin at gmail.com> wrote:
> Tristan Wibberley wrote:
> > Do not use sudo -s. use sudo -i. sudo -s should be removed or at the
> > least documented that it should never be used.
> >
> > sudo -s runs your own .bashrc as root - yet your .bashrc is writable by
> > your own user account - which could be compromised by a firefox flaw, or
> > a flaw in your email program, etc...
> >
[snip]
> Which is all very well and good, but if you are running a number of
> commands which all require root access, then it is a major pain to
> preface each command with sudo.
Which is why you use sudo -i if you want a root shell , as Tristan
patiently explained above.
Peter
--
Linux User #343161
More information about the sounder
mailing list