LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-17-2011, 08:29 AM   #1
tongsak77
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Rep: Reputation: Disabled
how do i regain root access on ubuntu?


I just installed ubuntu and I used sudo to create a new user account. Now it is denying me access saying my username is not in sudoers file everytime I type in my password. Im pretty sure its asking for the password to my user account right? PLEASE HELP!!
 
Old 12-17-2011, 10:34 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Hello tongsak77, welcome to LQ,

sudo asks for the password of your user account. Normally the first user which has been configured while the installation should have root-access via sudo.

What did you do when you added a new user? did you also change the password of your other account?

When you use sudo, you must insert the password for the user who is yet logged in.

Markus
 
1 members found this post helpful.
Old 12-17-2011, 03:58 PM   #3
tongsak77
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for replying Markush. I think I may have accidently changed it. All I know is my user account password doesnt work anymore. Is there anything I can do?
 
Old 12-17-2011, 04:54 PM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Could you please describe in detail what happened? can you login as the new user?

Markus
 
1 members found this post helpful.
Old 12-17-2011, 06:40 PM   #5
Telengard
Member
 
Registered: Apr 2007
Location: USA
Distribution: Kubuntu 8.04
Posts: 579
Blog Entries: 8

Rep: Reputation: 147Reputation: 147
tongsak77's thread on Ubuntuforums has already garnered replies. Not sure where he'd like to continue the conversation, but hopefully he'll get the help he needs either way.

Allowing other users to run sudo
LostPassword - Community Ubuntu Documentation
How to reset your password in Ubuntu

Last edited by Telengard; 12-17-2011 at 06:50 PM.
 
1 members found this post helpful.
Old 12-19-2011, 11:51 AM   #6
tongsak77
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you both for replying. I have tried to reset my password in recovery mode but now the computer is telling me there is an AUTHENTICATION TOKEN MANIPULATION ERROR every time I try to enter a new password. I have no idea what that means. I at the current moment have no root access and cannot do anything in sudo or gksudo. Any suggestions you guys have would be extremely helpful, thank you.
 
Old 12-19-2011, 01:03 PM   #7
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Hi,

you should google for this errormessage, you'll find much about it. For example here: http://ubuntuforums.org/showthread.php?t=1772894

Markus
 
  


Reply

Tags
root password, sudo


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
access ubuntu root disk on xp install justwantin Ubuntu 8 02-28-2010 07:42 PM
Users and Groups, Root Access, Ubuntu numtre Linux - Software 2 03-27-2009 04:56 AM
root access on ubuntu/kubuntu? nightwalker1977 Linux - Software 5 11-18-2006 12:48 AM
Process or program to regain root control from chroot() hack? flailer Linux - General 2 09-09-2003 04:42 AM
Process or program to regain root control from chroot() hack? flailer Linux - Security 0 09-07-2003 05:47 PM


All times are GMT -5. The time now is 01:21 AM.

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