Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 01-09-2010, 05:51 PM   #1
Registered: Sep 2003
Location: Nova Scotia
Distribution: Mandrake
Posts: 122

Rep: Reputation: 15
Can't use sudo, only account that's not root is not a sudo'ers [Ubuntu 9.10]

Okay, here's the cliffnotes:

-Created new user account
-Deleted the one I had before right after.
-If I try to use sudo, or run anything as a super user... it says my account doesn't have permission.
-I pressed, System, Administrator, Users & Groups and clicked the key icon. I enter in my password and it tells me "Authentication failed" so I can't change my account privelges through the GUI.
-I tried using the Live CD to edit that file, but it denies me permission to edit the sudoers file.

Think that's it... could really use some help. This is with Ubuntu 9.10.
Old 01-09-2010, 07:56 PM   #2
Registered: Jan 2007
Location: midwest USA
Distribution: gentoo w/ funtoo overlay
Posts: 146

Rep: Reputation: 23
load up the livecd... mount the / partition...go to that mkdir /mnt/ubuntu && mount /dev/sda1 /mnt/ubuntu && cd /mnt/ubuntu
then type in chroot /mnt/ubuntu /bin/bash
then passwd
(this will set a root password) remember what the password is...
then exit && cd && umount /mnt/ubuntu

reboot and you should be able to gain su privs and take care of your prob...see various sites on how to add a user to sudoers file

Edit: had to fix the /mnt/ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu root/sudo plus Linux - Newbie 1 09-27-2009 12:45 PM
Ubuntu use root without sudo ufmale Linux - Newbie 10 09-13-2009 03:59 AM
Deleted root account - Ubuntu 6.06 User Name. Linux - Newbie 12 01-09-2007 12:36 AM
sudo is junk in ubuntu. thinking about adding a root user. fakie_flip Linux - Newbie 21 08-09-2006 03:35 PM
Want2use /sbin cmds undr non-root account w/o sudo. Is it safe 2 add /sbin 2 my PATH? kornerr Linux - General 4 02-25-2005 09:29 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration