Log in

No account? Create an account

an observation about sudo on Ubuntu Linux

« previous entry | next entry »
Jun. 22nd, 2007 | 11:57 am
location: Sasona
mood: busybusy

Don't accidentally remove the the 'admin' group membership from your main user account. It's how Ubuntu gives a user the right to use sudo to run privileged commands -- if you remove yourself from it, you can't easily put yourself back.

Link | Leave a comment |

Comments {2}


(no subject)

from: nationelectric
date: Jun. 29th, 2007 12:54 am (UTC)

Thank you for mentioning this. This sounds like hard-won wisdom.

But couldn't you just boot from another OS (or an install cd) and add it back by hand?

Reply | Thread

Triple Entendre

(no subject)

from: triple_entendre
date: Jul. 5th, 2007 01:47 am (UTC)

you are welcome.

yes; the easiest fix is to reboot into the single-user-mode runlevel. that gives you just a "maintenence" shell logged in as root. for the purposes of this post I am classifying that admittedly simple solution as "not easy" because I had to look it up on Google. :)

Reply | Parent | Thread