Change password
0 votos
December 22nd, 2006 mysurface Posted in Admin, passwd | Hits: 12737 |
If you find your password insecure and wanna change it, you can do that with just type
passwd
Type your current password, then type your new password, and retype again to confirm.
In case you forgot your password, you can always reset your password with root user. First gain the root access
su -
Then, redefine the password for user let say eddie.
passwd eddie
With root user, you can check the details of the password management, regarding when the password is set, and the password duration etc for all user or particular user.
Check user eddie
passwd -S eddie
Check all users
passwd -S -a
Live Chat!









December 22nd, 2006 at 12:19 pm
When I run “su -”, it prompts for password, that’s the root’s password?
If it’s true, what if we don’t have the root password.. e.g. in Ubuntu default installation. Do we have workarounds?
December 22nd, 2006 at 1:54 pm
Sure, you have your own password, in Ubuntu, you uses sudo to gain root access. So, do this
Type in your password, then
Set the password for root.
March 16th, 2007 at 12:36 am
[...] How? My friend’s (toydi) side need to create a reverse tunnel, 1. He create an user account for me as mysurface, uses useradd 2. Set a default password for mysurface user account, uses passwd 3. Setup ssh reverse tunnel [...]
May 21st, 2008 at 6:53 am
[...] passwd. Type your current password, then type your new password, and retype again to confirm …http://linux.byexamples.com/archives/183/change-password/Password Change Checker… password_warn.sh - Notify users that a password change is needed … [...]