From owner-freebsd-questions Wed Aug 15 21:39:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fbsd.bosa.ca (cr1003901-a.rct1.bc.wave.home.com [24.113.37.99]) by hub.freebsd.org (Postfix) with ESMTP id 35C8137B407 for ; Wed, 15 Aug 2001 21:38:59 -0700 (PDT) (envelope-from kulraj@bosa.ca) Received: from ska1 (h24-207-52-63.dlt.dccnet.com [24.207.52.63]) by fbsd.bosa.ca (Postfix) with SMTP id 0BADF158EB9 for ; Wed, 15 Aug 2001 22:49:22 -0700 (PDT) Message-ID: <001501c1260d$334e89e0$0ac8a8c0@kimsamy.com> From: "Kulraj Gurm (bosa.ca Account)" To: References: <200108141447.KAA29143@cisco.com> Subject: Adding users - looking for shortcuts Date: Wed, 15 Aug 2001 21:37:47 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, This is something I've never tried, it seems like such a basic question, but I don't know so I have to ask. I normally go through the add user process to add a user, but I am going to be adding 55 users all of the same company. They want generic user name's and the aliased e-mail. So far no problem. What I am wondering about; (since I am lazy and like to do as little work as possible) if I create one user as normal can I then edit master.passwd and add more similar lines. Add first user normally : user0:YMLiXD9XxLuh.:1200:1007::0:0:SDISS 0:/usr/home/companyx/user0:/usr/bin/passwd The add following lines (ie. copy above and edit) to get the 55 users : user1:YMLiXD9XxLuh.:1201:1007::0:0:COXU 1:/usr/home/companyx/user0:/usr/bin/passwd user2:YMLiXD9XxLuh.:1202:1007::0:0:COXU 2:/usr/home/companyx/user0:/usr/bin/passwd user3:YMLiXD9XxLuh.:1203:1007::0:0:COXU 3:/usr/home/companyx/user0:/usr/bin/passwd they are all going to have the same initial password. Then all I have to do is map username to aliases in virtual table and we have a functional e-mail accounts! Is this going to work or am I asking for headaches? There must be an easier way than going through the adduser process 55 times. All opinions gratefully appreciated. Thnx all. Kulraj Gurm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message