Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Password change

  Date: Nov 24    Category: Unix / Linux / Ubuntu    Views: 392
  

i am new to unix

I need a script file which has to chang the passwords for all users and generate passwords randomly.

It has to store the passwords in a file. Is it possible? if yes, pl. help me in this regard.

Share: 

 

3 Answers Found

 
Answer #1    Answered On: Nov 24    

First, it's not really safe to store unencrypted passwords, which is why
most unix systems don't do it. What you are trying to do is definatly
possible (you'll find just about everything is with unix), but it would
take a fair amount of scripting. Why do you need such a script? I'd
suggest hiring a unix administrator before you wreck something, if this
is at all important.

 
Answer #2    Answered On: Nov 24    

this is not a production system .Its for training purpose and every couple of weeks new person use the machines ,and also he may return after a break .thats why i wanted a easier way instead of me doing manually everytime

 
Answer #3    Answered On: Nov 24    

I found a program on Freshmeat, turns out its a whole server/client
solution, and has a few options for the type of password.
http://www.adel.nursat.kz/apg/
I hope this will do it for you. There's also a Standalone version of
APG (automated password generator) and it prints the password to
standard output, which of course can be sent to any file using the ">>
file" shell option. For example, "apg -options... >> passwordfile"

 
Didn't find what you were looking for? Find more on Password change Or get search suggestion and latest updates.




Tagged: