Root! Root! Root!
s.ward at auckland.ac.nz
Tue Mar 15 08:42:38 UTC 2005
There are some very good docs etc on how to make best use of sudo in the
wiki. As a quick response though I find "sudo -s" or "sudo su" quite
useful. Basically it opens a root shell without needing a root password.
Having said that I have a root password too (sudo passwd), but I find
the less I type it the more secure I feel :)
russell cook wrote:
> I prefer a working root account for when I run multiple commands or am
> debugging problems, but am happy with sudo for scripts and single
> commands. I agree tab completion is great. When I remember (not
> always), I type the command and command line first (so I can use some
> of bash's features) then hit the home key to go to the start of the
> line and type in sudo. Not an elegant solution but a workaround.
> On Tue, 2005-03-15 at 09:24 +0800, Senectus . wrote:
>> On Mon, 14 Mar 2005 20:21:17 -0500, Xian <ulist at gs1.ubuntuforums.org <mailto:ulist at gs1.ubuntuforums.org>> wrote:
>> > Try this from a normal terminal session:
>> > # sudo passwd
>> I have to say, one of the biggest reasons I don't like using sudo is
>> that tab completion for bin files doesn't work..
>> sudo apt-g then hit the tab key will not complete the command.
>> unlike running the following as root:
>> apt-g then hit the tab key...
>> Ubuntu Warty 4.10 (desktop)
>> and Hoary 5.04 (Laptop) (kernel 2.6.10-25 686)
More information about the ubuntu-users