Check the documentation at the doco project, at the top there is mention of defaults:
Linux Shadow Password HOWTO: Putting the Shadow Suite to use.
That should do what you are asking for.
Hi all,
i would like to create a user in my fedora 10 distro and set the user's password to expire in 30 days after which it pormpts the user to change in 10days time failure to which the account is automatically disabled
was thinking something like
useradd -e 14 -f 30 newbieAm tryin 2 think like in a mic***st enviroment...lol![]()
Check the documentation at the doco project, at the top there is mention of defaults:
Linux Shadow Password HOWTO: Putting the Shadow Suite to use.
That should do what you are asking for.
Still not underestimating the power...
There is no such thing as bad information - There is truth in the data, so you sift it all, even the crap stuff.
To be successful here you should read all of the following.
ForumRules
ForumFAQ
If you are new to Back|Track
Back|Track Wiki
Failure to do so will probably get your threads deleted or worse.