passwords in linux

Hi all quick question

I want to set the passwords for users on linux without input from keyboard has anybody done this

I assume its something piped through passwd --stdin
and pipe contents of a file ...


i.e after a useradd username
you normally do a passwd username

and then enter the password form the keyboard

any thoughts ?

hololi

 

 

 

 

Top