(fwd) Re: 3.1 adduser -batch gone?

Andrey Gerzhov (kittle@freeland.alex-ua.com)
Sat, 20 Mar 1999 20:15:17 +0200 (EET)

-- forwarded message --
Path: freeland.alex-ua.com!news.alexradio.kiev.ua!not-for-mail
Date: Fri, 19 Mar 1999 21:04:44 +0000 (GMT)
From: Andy Doran <ad@psn.ie>
To: Joe Schwartz <rjoe@sierrahill.com>
Subject: Re: 3.1 adduser -batch gone?
Message-ID: <Pine.BSF.4.05.9903192102540.263-100000@vmunix.psn.ie>
Newsgroups: alex.gated.freebsd.hackers
Lines: 54
Xref: freeland.alex-ua.com alex.gated.freebsd.hackers:8414

Take a look at:

http://www.psn.ie/users/ad/psntools

It's in need of a major rewrite and release under BSD license, but works
well as it is. If you have questions mail psntools-users@psn.ie.

Andy.

> Folks,
>
> I'm migrating an ISP's NT e-mail server to FreeBSD 3.1. They've
> provided user info including:
>
> login ID, full name, passwd
>
> I've set up the script using my FreeBSD 2.8 system to create the
> adduser script which looks like:
>
> adduser -batch test4 '' '' 'MR. TEST' qwerty7
>
> Works great on 2.8 and creates a record like this:
>
> test4:$1$Yk404UY5$vsmNN4Ah1sLVZyHX.NEok1:1024:15::0:0:MR. TEST:/home/test4:/bin/
> csh.
>
>
> I tried running he script on the 3.1 machine and got a:
>
> '-batch no longer supported' error message.
>
> I was originally going to use 'pw', but not not understand
> how to use it to set a passwd. Am I overlooking this option?
>
> HELP, I don't want to do this by hand and could sure use some
> advice on how to programatically make these users.
>
> Thanks,
>
> Joe S.
>
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
>
>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
-- end of forwarded message --

-- 
С тем, что не помешает никогда,
                                               Kittle