[CentOS] Add instantly active local user accounts *with* password using useradd -p option ?

Niki Kovacs contact at kikinovak.net
Thu Jul 9 07:32:38 UTC 2009


Sander Snel a écrit :
> # for user in user1 user2 user3 ;  do useradd $user ;  echo "password" | 
> passwd --stdin $user ; done
> 
> cant make it any simpler

Indeed. Thanks very much!

Niki



More information about the CentOS mailing list