Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

14.3. Forgotten user Password

I've forgotten my user password. How do I get a new one?

Passwords are stored in encrypted files on your Red Hat Enterprise Linux system: users cannot read a file and see their own or other passwords. If you forget your user password, you must create a new one.

If you realize that you have forgotten your pasword while logged in, you can create a new one for yourself. Open a shell prompt and enter the command passwd. The passwd command asks for the new password, which you will have to enter twice. The next time you log in, use the new password.

If you are not logged in when you realize you have forgotten your password, log in as the root user. Open a shell prompt and enter the command passwd username, where username is your normal user name. The passwd command requires you to enter the new password twice. Log out of your system. You can now log back in with your normal user name and your new password.

 
 
  Published under the terms of the GNU General Public License Design by Interspire