traderhank1
asked on
User account creation
How would I create a user from the command line with a password that will never expire?
ASKER
that wasn't "exactly" helpfull.
Hello,
You can set the password aging limits by editing /etc/login.defs
You can set the perons's expiry to the maximum with
# passwd -x <username>
Thanks
Stephen
You can set the password aging limits by editing /etc/login.defs
You can set the perons's expiry to the maximum with
# passwd -x <username>
Thanks
Stephen
By default,
useradd <username>
passwdd <username>
as root, the password of <username> won't expire unless you enforce on pam.d or /etc/login.defs.
useradd <username>
passwdd <username>
as root, the password of <username> won't expire unless you enforce on pam.d or /etc/login.defs.
ASKER
I don't see anything relating to expiration in login.defs , I don't know anything about pam.d
everytime I create a new user I have to fire-up X and uncheck enable password expiration.
everytime I create a new user I have to fire-up X and uncheck enable password expiration.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
# man useradd