Linux users must be quite familiar with the various command lines, but today Xiaobian still brings you a practical command line, that is the passwd command line, not yet Please ask the users who have the function of the passwd command line. Let's take a look.
effect: change password
Format: passwd [options] [LOGIN]
Description:
ordinary users can only modify their own Password; superuser can modify the password of any account; can also change the validity period of the relevant account password;
Superuser can not enter the password of the user to be modified;
Options:
-a,--all
Use with -S to display all user status
-d,--delete
Delete user password
-e,--expire
Immediately invalidate the user password, forcing the user to change the password the next time they log in
-h,--help
Display help information and exit < Br>
-i,--inactive INACTIVE
After the account has expired INACTIVE days, the user can no longer log in with the account
-n,--mindays MIN_DAYS
The password is modified twice at least MIN_DAYS days. If MIN_DAYS is 0, it can be modified at any time
-S,--status
It shows account status information, a total of seven fields, namely login, L (P or NP), last modified, the minimum age, maximum age, warning period, inactive period. The units of these ages are all days. Previous12Next page Total 2 pages
In Linux system operation, you need to use commands to monitor the CPU usage of Lin
Ubuntu modified Locale to change the locale of the Linux system, but Ubuntu modifie
Using Docker on a Linux system can repeatedly deploy software in an environment, which makes it poss
There is a command to terminate the process directly under the Linux system. The co
Linux installation using eCryptFS to encrypt files
Ubuntu install libgdiplus error how to do?
Ubuntu 12.04 how to install and use Byobu
Linux logical volume creation skills
How does Linux modify the RPM installation directory?
Solution for adb connection failure under Mac or Linux
Linux vim comment color can't see how to change?
How Linux expands the number of file openers
Ubuntu steps to install PlayOnLinux
How to turn off Win8.1 and turn off wireless and Bluetooth?
Convert html webpage to PDF document under Win 7 system with wkhtmltopdf
How to share a printer in a win7 computer?
Win 8 system quickly find the control panel tips
Disable the USB selective pause setting in Windows 7
Modify the Windows 7 system's Hosts to get the administrator's permission as fast as possible.
How to open the video acceleration function of Baidu browser
Vista SP1 update patch brings new experience to users