This worked useradd -e 99999 -g <gname> -p <password> username However when i try to logon as the user i cannot and get an authentication denied.
I also tried usermod -p <password> username but still cannot. What am i missing? I suspect that the user account is disabled. If thats the case how do i enable the user account? Kapil Khanna <[EMAIL PROTECTED]> wrote: 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 disabled. 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 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list