Re: Adding users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 22 Dec 2003, John Haxby wrote:

> Tony Arcus wrote:
> 
> >Anybody got a script that would read a txt type file with user names and 
> >passwds, adds then and sets up the passwd?
> >I have schools with hundreds of students and don't what to type this by hand.
> >  
> >
> while read name password; do
>     useradd -p "$password" "$name"
> done < file
> 
> Will that do?

Also the is the newusers command that might be useful.  man newusers



-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux