Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-15-2009, 03:46 PM   #1
LQ Newbie
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
Ubuntu Administrator Help


I just purchased an aspire one and I have installed Ubuntu 8.10. I must have missed something because I don't have sudo privileges, although Administer System is checked under User Settings.

Prior to installation I used Ubuntu Partition editor to remove Linpus.

I would appreciate any assist I can get, but need to resolve soon as I think I may need to reinstall.

Thanks in advance.
Old 04-15-2009, 04:35 PM   #2
Senior Member
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 97

Interrupt the grub boot process (by pressing Esc)

select the "Recovery mode" boot item

From the recovery menu select:

root Drop to root shell prompt

To set a password for the root account, type:
passwd root
and enter a password.

Check the sudoers file, type:
If sudo is installed, you should see the following file:
# /etc/sudoers
# This file MUST be edited with the 'visudo' command as root.
# See the man page for details on how to write a sudoers file.
# Defaults

Defaults !lecture,tty_tickets,!fqdn

# Uncomment to allow members of group sudo to not need a password

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL) ALL

# Members of the admin group may gain root priviliges
%admin ALL=(ALL) ALL
press [esc] : q
to exit vi

Old 04-15-2009, 08:38 PM   #3
Senior Member
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Here is a very detailed tutorial on fixing sudo on Ubuntu:
Old 04-16-2009, 02:24 AM   #4
Senior Member
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 97
Nice link

I guess I should have googled before typing.

I do have a couple of points about that link though...

When logged in as root, there is no need to add sudo to the front of the command.

Additionally, I was taught (a long time ago) to always use visudo when editing the /etc/sudoers file, it even says it in the file.

I can't remember if vi is the default editor for visudo on Ubuntu, or whether I changed my default editor. vi is not for the uninitiated so I will assume that it's something I have changed
Old 04-16-2009, 08:36 AM   #5
LQ Newbie
Registered: Apr 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks all!!!

I found my accounts locked and after unlocking them all is well, I suspect this feature is for security. Thanks for the link, I will spend much time there!



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
why im not administrator thatgirl Linux - Newbie 3 12-28-2007 09:01 PM
Administrator Megos Linux - Newbie 12 06-12-2007 12:55 AM
XP Administrator anoosh General 1 05-17-2006 04:31 AM
Administrator privileges in Ubuntu vincebs Ubuntu 3 05-09-2005 01:39 PM
administrator help debdas Linux - Newbie 4 05-15-2003 05:00 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:51 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration