Kangry.com [insert cool graphic here]
home | Topics | Logout | Search | Contact | ?? Kangry ?? | Bandwitdh
Topics:
DVR
nvrec
Mplayer
Links
Misc
Commands
Humor

Name

Password

New user

uploaded files
(linux_command_line)-> (Parent)->Fedora, RHEL password commands (root password) submited by Russell Wed 08 Mar 06
Edited Thu 04 Jun 09
Web kangry.com
as root to change root password:
# passwd
Changing password for user root.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
As root you can set another users password using the format
passwd username
As an unprivliged user, you can use the passwd command to change your own password, but you will need to provide your old password.

The new password takes effect immediately. (no reboot is required) It will be used for mail (pop/imap) ssh , ftp and telnet (if your still running that antiquated service) . Currently open sessions will continue to work, but any new session that is started will need the new password.

Now if you have lost the root password, and need to reset it that is another problem. But there is a way.

The simplest trick is to use the Single user mode.

at the grub boot, select append boot option and add a "1" for single user mode. This will boot linux to a root prompt. when this prompt comes up you can change the root password to whatever you want (as above) then reboot the machine as normal with the new root password that you selected.


Keywords:
change root password redhat command line SSH


Add comment or question...:
Subject:
Submited by: NOT email address. Leave blank for anonymous    (Spam Policy)

Enter Text: (text must match image for posting)




This file (the script that presented the data, not the data itself) , last modified Wednesday 06th of November 2024 03:45:09 PM
your client: CCBot/2.0 (https://commoncrawl.org/faq/)
current time: Wednesday 06th of November 2024 03:45:09 PM