security file setup location?

Scott Ruckh sruckh at gemneye.org
Fri Jul 7 23:29:23 UTC 2006


-- 

This is what you said Nitin
> mcclnx mcc wrote:
>
>>I tried to  setup  all user need change password every
>>30 days, but can NOT find  which file to modify.  I
>>search /etc/security and /etc/deafult .  It is not
>>there.
>>
>>Can anyone tell me where is security file?
>>
>>Thanks
>>
>>
> The file which holds all this information is /etc/shadow. Instead of
> modifying the file manually use "chage" and "passwd" command. To check
> available options with chage command see man pages.
>
> --Nitin
>

/etc/login.defs contains the information for password policy.

As already mentioned you should also 'man chage' to see how it can be used
for user administration (relating to password policy)





More information about the redhat-list mailing list