LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   expire date in useradd (https://www.linuxquestions.org/questions/linux-security-4/expire-date-in-useradd-381051/)

ALInux 11-08-2005 06:21 AM

expire date in useradd
 
Hi guys I just wanted to know what the format of the expire date in the useradd command should be........

ashamril 11-08-2005 08:10 AM

To set an expiration date when creating an account, use the command:

# useradd -e mm/dd/yy login_name

ALInux 11-08-2005 08:30 AM

Are you sure about the date format

I was googling around and a site stated yyyy-mm-dd


All times are GMT -5. The time now is 07:39 PM.