==> This is not like password of "su" (su is not a user): The Linux command 'su' is used to switch from one account to another. User will be prompted for the password of the user switching to. For example : $ su abc password: #password of abc
==> Users can also use it to switch to root account. If user types only 'su' without any option then It will be considered as root and user will be prompted to enter root user password. For example: $ su password: #password of root
#So , basically , Title would be "How to change password of root account in Ubuntu or (any linux distro)" ==> Note: In Ubuntu root password is not configured at the time of installing Ubuntu, so User have to configured it manually ,if you want to switch to root account then use "sudo su" (without quotation), then change password of root if you want just by issuing `passwd` command(as you did in screenshots).
References: #Manual pages of su and sudo Type man su and man sudo for manual pages in Ubuntu .
==> This is not like password of "su" (su is not a user):
ReplyDeleteThe Linux command 'su' is used to switch from one account to another. User will be prompted for the password of the user switching to.
For example :
$ su abc
password: #password of abc
==> Users can also use it to switch to root account. If user types only 'su' without any option then It will be considered as root and user will be prompted to enter root user password.
For example:
$ su
password: #password of root
#So , basically , Title would be "How to change password of root account in Ubuntu or (any linux distro)"
==> Note:
In Ubuntu root password is not configured at the time of installing Ubuntu, so User have to configured it manually ,if you want to switch to root account then use "sudo su" (without quotation), then change password of root if you want just by issuing `passwd` command(as you did in screenshots).
References:
#Manual pages of su and sudo
Type man su and man sudo for manual pages in Ubuntu .