LinuxQuestions.org
Review your favorite Linux distribution.
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, 03: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, 03:25 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,249

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
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, 05: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, 05:28 PM   #4
Habitual
LQ 5k Club
 
Registered: Jan 2011
Location: Nowhere near you, thank God.
Distribution: OSX Sierra
Posts: 8,573
Blog Entries: 14

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


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

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

All times are GMT -5. The time now is 01:17 PM.

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