LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-02-2013, 02:16 PM   #1
Dr. D
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Rep: Reputation: Disabled
lost password


For some reason, i am being asked for a password to action recommended updates. This just started and I was never asked for a p/w before and I do not remember my root p/w. I have tried to restore my p/w using the suggested methods from recovery mode etc. I need help/
 
Old 05-02-2013, 02:25 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,661

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by Dr. D View Post
For some reason, i am being asked for a password to action recommended updates. This just started and I was never asked for a p/w before and I do not remember my root p/w. I have tried to restore my p/w using the suggested methods from recovery mode etc. I need help/
We can't really help without details. Things like what version/distro of Linux? What some of the "suggested methods" you've tried are, and what the results were? Anything?

For 95+% of Linux, you should be able to put in your installation CD/DVD/USB stick, boot from it, and enter RESCUE mode. Manually mount your hard drive, and edit the /etc/shadow file, removing the root password (that is, everything between the first and second colons ":"). Reboot, and root will have no password.
 
Old 05-02-2013, 04:18 PM   #3
ratotopi
Member
 
Registered: Dec 2011
Posts: 114

Rep: Reputation: 6
You should be able to change the password booting in single user mode.
 
Old 05-02-2013, 04:28 PM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by Dr. D View Post
For some reason, i am being asked for a password to action recommended updates. This just started and I was never asked for a p/w before and I do not remember my root p/w. I have tried to restore my p/w using the suggested methods from recovery mode etc. I need help/
Does YOUR password work when prompted during updates?
 
  


Reply



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
Linux 2.6.15.1 The password lost , RESET PASSWORD ANDYCHAN Linux - General 2 08-18-2012 08:05 AM
I have lost my password. can you help me to recover my password in ubuntu croosnaya Linux - Newbie 4 04-17-2012 06:52 PM
[SOLVED] WD Elite - Lost Password - How -To Remove the lost password? fixcom1 Linux - General 3 03-06-2011 05:23 PM
Lost password mrlinux2000 Linux - Security 24 11-09-2009 03:55 AM
lost password waxiem Linux - Software 5 07-04-2003 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:39 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
Open Source Consulting | Domain Registration