![]() ![]() This obviously requires root access as well. What this command basically does is expire the password of the mentioned user, so that the user has to forcefully change the existing password at their next login. This is a very useful feature, especially for Linux administrators. Passwd: password expiry information Force a user to change their password ![]() To delete the password of a user, use the following syntax: sudo passwd -d This is not useful in most personal computers, but for a home PC, that’s what most people use, or for a system that needs to be open to anyone who attempts to use it, this option is essential. This option sets an account essentially password-less, so that anyone can log into it. Number of days of warning before password expires : Deleting a password Maximum number of days between password change : 99999 Minimum number of days between password change : 0 There is another command that displays this information in a better way.
0 Comments
Leave a Reply. |