In Linux system operation, the validity period is usually not set when the account is set up. It is mainly used in the enterprise. How to extend the validity period when the Linux account expires? The following small series will introduce you to the solution of the Linux account expiration, let's learn together.
Method a: When adding a user
Parameter useradd linuxidc -e 01/28/12
or modify the following documents:
[ Root@linuxidc skel]# grep EXPIRE /etc/default/useradd
EXPIRE=
Instance: Specify the parameter to execute useradd -D -e
[root@linuxidc ~] # date +%F
2012-01-25
[root@linuxidc ~]# useradd -D -e 01/19/12 #→Modify the default account new account expiration time, Once set, the new user will expire after this time.
[root@linuxidc ~]# useradd -D
of configuring KVM network in RedHat KVM is a virtual machine. After installing KVM on RedHat syste
There is a command to terminate the process directly under the Linux system. The co
for FreeBSD 8.2 Salt is a large-scale distributed configuration management system. After installing
Learning the knowledge of character sets in Linux system can solve many system prob
Linux system rescue mode operation example
Red flag system redflag6.0 how to install QQ
Ubuntu removes the emulator failure prompt "the android "XXX" virtual solution
How to modify the SSH port number in Linux?
How to modify the character set in Linux
How to fix the program error prompted by Ubuntu system?
How Linux looks at the last reboot time
What should I do if I can't delete files in linux with root privileges?
What should I do if the device id of the Linux virtual machine does not match the drive letter?
How does Ubuntu recover the GNOME Panel that was accidentally deleted?
Windows Vista system disk space solution
The IIS server sets the individual user permissions for each site
How did the ancient online treasure chest of the ancient century get the
How to set video download quality for Win10 video application
Microsoft promises to speed up the push frequency of Win10 mobile phone system preview
How to improve the speed of system search?
Win10 changes IE to the default browser two methods
FineReport report setting date automatically calculates