Logo Your Web Hosting Solution
Line
Linux Guide
Introduction
Connecting
File Related
Directories
Change Password
More Help
Tutorials Index
Home Page
Linux Tutorial - Change Your Password

If you wish to change a password for a username, you can do so using the passwd Linux command.

Start by connecting to the remote server. Next, log in as the user who's password you wish to modify.

machine1:~$ passwd
Changing password for username
Old password: ********
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
New password: ********
Re-enter new password: *********
Password changed.

Simply follow the prompts to make the change.

Note that passwords which would be easy to guess or could fall victim to a dictionary based attack will likely not be accepted for obvious security reasons.

Include some numeric values and alternate between uppercase and lowercase to make it secure.

The passwd command can obviously not be used to recover lost passwords, only to change one you know.

Top Of Page 
Line
Copyright© 1996 - 2024 Clockwatchers, Inc.