password

Asked by Swingingdoor on 2007-03-11

I can log into my computer, but my add and remove program and synaptic manager do not recognize my password anymore. How can I get my root privileges back. I did not change the root password.......it just stopped working (except at computer startup).

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2007-03-11
Last reply:
2007-03-11
Swingingdoor (dscluck-gmail) said : #1

Anyone have any suggestions?

Luca Falavigna (dktrkranz) said : #2

Is your user a member of admin group? You can check it by using 'id' command.

Swingingdoor (dscluck-gmail) said : #3

it work fine for awhile then it just stopped.

Swingingdoor (dscluck-gmail) said : #4

I am the admin and no changes were made to the password.

Luca Falavigna (dktrkranz) said : #5

Open a terminal (Application -> Accessories -> Terminal) and execute 'sudo synaptic' command. Is it working?

Swingingdoor (dscluck-gmail) said : #6

yes but when i type in my password, it says it is wrong

Wolf Canis (wolf-canis) said : #7

Hello Swingingdoor,
have you checked your keyboard?
Open a terminal and type some keys, matching the keys to the character? If yes, try to give you a new password and then try it again with your new password.

Mr Canis

Leandro Gómez (leogg) said : #8

Hello!

If you can login with your username/password, but not perform administrative tasks using the same password, my guess is that you don't have root privilegies.

There are several reasons for this: maybe you did an 'expert' installation instead of the 'default' one, this gives the regular user no root access or maybe you created another user after the default one. Try to do this:

1. Reboot in recovery mode
2. In terminal, type: visudo
3. You should see the file /etc/sudoers on your screen. Make sure that the file has these contents:

# Defaults

Defaults !lecture,tty_tickets,!fqdn

# User privilege specification
root ALL=(ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

4. Hit Ctrl-X to exit
5. In terminal, type: nano /etc/group
6. Add your username to the 'admin' group
7. Hit Ctrl-X to exit
8. Reboot. You should have sudo privilegies by now.

Regards,

Leo

Can you help with this problem?

Provide an answer of your own, or ask Swingingdoor for more information if necessary.

To post a message you must log in.