11-21-2012 04:53 AM
I've set security policies in "/etc/default/security":
and I want some users don't be affected by these settings. So I remove the "Password aging" (through smh or command line) and it works. But everytime the users change their passwords, the password aging is applied again. Is this the normal or expected behavior? Is there any way to fix it to permanently disable the password aging only in a given user?
Solved! Go to Solution.
11-23-2012 01:36 AM
If you want to make exceptions for few users in standard mode then you may use "password -x 1 username"
where 1=number of days in which the user account should get locked.
In trusted mode, to set such policy for specific user please use "/usr/lbin/modprpw –l –m mintm=0 exptm=0 lftm=0 expwarn=0 username"
Hope this will help you on your query asked.
Thanks & Regards,
11-23-2012 04:22 AM - edited 11-23-2012 04:23 AM
As I've said, I've managed to disable password aging for certain users. The problem is every time one of such users change its password, the password aging is applied again. And the system is not trusted. Please, take a time to read my first post.
12-19-2012 06:32 AM
As I suppossed, there is no way to disable these settings per user. Each time a user change its password, the settings in /etc/default/security are re-applied. And for account lifetime, it cannot be disabled with userdbset.