change password ubuntu 1

change password ubuntu

# just type:
passwd
# it'll ask for the current passowrd and x2 times for the new one

Here is what the above code is Doing:
1. It’s creating a new user called ‘user’
2. It’s setting the password for that user to ‘password’
3. It’s adding the user to the ‘sudo’ group
4. It’s setting the password for the ‘user’ user to ‘password’

Similar Posts