Subject: Re: script to add users (working)
To: None <netbsd-help@netbsd.org>
From: Carlo Smith <postfix2002@hotmail.com>
List: netbsd-help
Date: 12/03/2002 11:25:40
Thanks, got the check and creating automated .. saves me a lot of time :)
>From: "Carlo Smith" <postfix2002@hotmail.com>
>To: reed@reedmedia.net
>CC: netbsd-help@netbsd.org
>Subject: Re: script to add users
>Date: Tue, 03 Dec 2002 09:58:20 +0000
>
>I know you can do all that from the commandline ... but I need to create
>150 id's and would like to do this a lill automated. Certainly as a few
>accounts will already be active.
>
>
>>From: "Jeremy C. Reed" <reed@reedmedia.net>
>>To: Carlo Smith <postfix2002@hotmail.com>
>>CC: netbsd-help@netbsd.org
>>Subject: Re: script to add users
>>Date: Tue, 3 Dec 2002 01:51:13 -0800 (PST)
>>
>>On Tue, 3 Dec 2002, Carlo Smith wrote:
>>
>> > looking for a script to add users including homedirs, it also needs to
>>check
>> > if the user already exist.
>>
>>NetBSD now includes tools for this.
>>
>>See the manual pages for user, useradd, userinfo, etc.
>>
>>For example to add a new user with a home directory, you can use "useradd
>>-m username".
>>
>>And to check if a user exists, "userinfo username".
>>
>>Have fun!
>>
>> Jeremy C. Reed
>> http://www.reedmedia.net/
>
>
>_________________________________________________________________
>MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
>http://join.msn.com/?page=features/virus
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail