Linux Change Password Easily
Both UNIX and Linux operating systems make use of the passing command to automatically change user password on the system. The passing is used essentially to update the password for the user account and / or group account. Any changes to the password will be applied on the login page of the system. This article is written to illustrate how easy it is to change the password of a Linux system.
In order to change the password of the user account, the following command needs to be entered at the console prompt: passing user anonymous. In case you are using the su-root user then substitute user with a root in case the above command is not entered. The following illustration shows the modification that needs to be done on the user account to enable password changing: users $ pass username $ password Change the password of the user account by entering the following command at the console prompt: passing user anonymous password Change password of the group by typing the following command at the console prompt: passing group anonymous password Change password of the user and group account by typing the following command at the console prompt: passing user anonymous password In the above example the password of the user account is changed but not the password of the group account. The reason for this is that group does not have a password set. The command can be entered on the console either by the root user or by the su user. It is important to remember that in both commands the new password needs to be specified and thus both the changes need to be applied to the group’s accounts. The su and root user can be changed by the su or root using the class command. Accessible Information File. Such is reserved for login messages, system programs and other security reasons. The suid file is however used to determine password expiration. Hence, when you login to your Linux system every time you change the password in your password is saved in said file and hence it will expire after the next time you login.
To change the password of a user in your Linux system, you can use the send command. This method however doesn’t allow changing password of all users in your system. You need to be a member of the named group in your Linux to be able to change the password of the user. For instance you are the owner of the subgroup in your Linux you can add your user id to the group list by typing the command suidgedpine in your console and then follow by Adding the user id to the Linux group list. This command will allow you to become the member of the named group in your Linux.
There are two more ways to allow you to easily change passwords of users in your Linux system. The first one is to use the passprompt utility which is found in the kernel’s base. This utility will allow you to change the password of the user with the help of a graphical user interface. The second method is the console command, which is also provided by the kernel. The graphical interface of the console enables you to login as the root user.
When you want to change the password of the user who is the operator type the command underpass in your console and hit the Enter key. This will display the message passwd Enter password for user ‘administrator’. When you want to change the password of the ordinary user type the passwd command in your console and hit the Enter key. This will display the message Enter password for ‘root’.
Now, when you are logged in as root you can login to the chage ID. Type the chage command ID in your console to display the message chage id not set. You may change it with the help of the graphical user interface and log in as the new user. The reason for the failure to enter new unix password in the above method could be two reasons, either the expiry age of the file which is used or the time and date of last login.
If you find difficulty to login as root, you can use the command united to display the file VivaK Ultra Password Redirector. You need to download this file from the URL and move it to the directory where VivaK is installed. Then run the command unixid -r to redirect the password file to your home directory. Finally, log in as root to access your home directory. You may verify the file exe password.