Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Please tell me how to set a remainder to change the passwords for every 45 days on linux and unix machines.


Thanks,
Srihari

share|improve this question
    
Should be over at unix.stackexchange.com –  Michael Jun 13 '11 at 14:05
add comment

migrated from stackoverflow.com Jun 13 '11 at 14:15

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 2 down vote accepted

Take a look at chage command in Linux.

share|improve this answer
    
Hi Anubhava can you please provide one example with change command and eloborate,I aleardy used passwd command for changing the password can I use the same for get warning messages for password expiry. –  srihari Jun 13 '11 at 14:20
    
@srihari: Here are some examples of change command: thegeekstuff.com/2009/04/… –  anubhava Jun 13 '11 at 14:27
add comment

Also look at the -w and -x of the passwd command - at least on linux, not sure about other platforms.

share|improve this answer
    
Thanks Duck for the information. –  srihari Jun 13 '11 at 14:22
    
Works in Solaris –  Duane Jun 16 '11 at 0:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.