[YLUG] Kunbunto
Nicholas Thomas
lupine at yorkshire-pagans.org.uk
Wed Sep 13 21:21:48 BST 2006
On 13/09/06 17:09, Pete Fenelon wrote :-
>>
>> sudo /bin/bash
>> <supply your main user password>
>
> Please don't do that. The whole point of sudo is that it's there to
> run single commands as root, optionally under tight control and with
> good logging. Yes, "sudo bash" works; no, it's not a good habit to get
> into. Use as little privilege as possible and the chances of breaking
> something are much reduced!
>
> pete
> --
> pete at fenelon.com "There's no room for enigmas in built-up areas"
So what do you do when sudo breaks?
I've had this happen to me on several occasions, and although rebooting
and jumping into single-user mode to fix it is one possibility, having a
root password set as a backup is so much easier.
Sudo is remarkably fragile :)
xF,
...Nick
More information about the York
mailing list