In Linux and other Unix-like operating systems the user "root" is the system super-user. Similar to the administrator account(s) in Windows, root has complete control over the system. The following article will describe how to change the root password in Linux
Steps
- 1Log on as root. This can be achieved by typing "su" or "su root" at the terminal prompt.
- 2Enter the current root password. Don't be alarmed if as you type nothing is displayed at the prompt. This is intentional for security reasons.
- 3Type the command "passwd" at the root prompt.
- 4Enter your new password and repeat it at the confirmation prompt.
- 5Logout using the "exit" command.
EditTips
- Some distributions(such as Ubuntu) lack a root account by default. If you are given an error as you try to log in as root this may be the case.
source by wikihow
No comments:
Post a Comment