1829903 Members
2194 Online
109993 Solutions
New Discussion

prevent password expiry

 
SOLVED
Go to solution
ln_unix
Frequent Advisor

prevent password expiry

Hi Freinds,

Can anybody tell me that,is it possible to prevent password expiry of default user i.e. bin in /etc/passwd file.

or

Tell me any policy by which password will not expire of default user (bin) in /etc/passwd file.

Waiting for your replies ....

Thanx n Regards,

Lokesh Nagpal.
2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: prevent password expiry

Shalom,

edit

/etc/default/useradd

You should be able to change from the default EXPIRE

This will enable you to fail your next security audit so beware.

passwd -x 0 username
# should fix existing users.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: prevent password expiry

Why are you worried about bin? There should only be a dummy entry since bin never logs in.