From owner-freebsd-hackers Fri Mar 19 11:33:43 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from sierrahill.com (unknown [209.198.135.2]) by hub.freebsd.org (Postfix) with ESMTP id E15321514D for ; Fri, 19 Mar 1999 11:33:35 -0800 (PST) (envelope-from rjoe@sierrahill.com) Received: (from rjoe@localhost) by sierrahill.com (8.8.8/8.8.8) id NAA10411; Fri, 19 Mar 1999 13:38:44 -0600 (CST) (envelope-from rjoe) From: Joe Schwartz Message-Id: <199903191938.NAA10411@sierrahill.com> Subject: 3.1 adduser -batch gone? To: freebsd-hackers@freebsd.org Date: Fri, 19 Mar 1999 13:38:44 -0600 (CST) Cc: rjoe@sierrahill.com ( Joe Schwartz ) X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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