On RH 7.2 the following useradd command always returns invalid date.

useradd -e 2099-01-01 -g <gname> -p <password> username
also tried 
useradd -e "2099-01-01" -g <gname> -p <password> username

on running man useradd for the -e option this is what it says
The date on which the user  account  will  be  dis­abled.   The  date is
specified in the format YYYY-MM-DD.
What am i doing wrong? Any clues?

Thanks,
--Kapil



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to