From owner-freebsd-questions Mon Oct 6 22:28:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA27766 for questions-outgoing; Mon, 6 Oct 1997 22:28:07 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from zerium.idgonline.no (root@oslo-3-8.newmedia.no [194.52.244.72]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA27761 for ; Mon, 6 Oct 1997 22:28:01 -0700 (PDT) (envelope-from hanspb@persbraten.vgs.no) Received: from localhost (hanspbie@zerium.newmedia.no [127.0.0.1]) by zerium.idgonline.no (8.8.7/8.8.5) with SMTP id TAA01560; Mon, 6 Oct 1997 19:30:42 +0200 Date: Mon, 6 Oct 1997 19:30:42 +0200 (MET DST) From: Hans Petter Bieker X-Sender: hanspbie@zerium.idgonline.no To: Doug White cc: questions@FreeBSD.ORG Subject: Re: classes and adduser In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 6 Oct 1997, Doug White wrote: > On Sat, 4 Oct 1997, Hans Petter Bieker wrote: > > > Why doesn't the adduser command set the class field in master.passwd? > > What version of FreeBSD are you running? Login classes weren't > implemented until 2.2.2. /usr/sbin/adduser: $Id: adduser.perl,v 1.19.2.7 1997/09/20 20:10:52 wosch Exp $ (2.2-STABLE for today) # adduser Use option ``-verbose'' if you want see more warnings & questions or try to repair bugs. Enter username [a-z0-9_-]: tja Enter full name []: User & Enter shell bash csh date no sh [bash]: Uid [1026]: Login group tja [tja]: Login group is ``tja''. Invite tja into other groups: guest no [no]: Enter password []: Enter password again []: Name: tja Password: **** Fullname: User & Uid: 1026 Gid: 1026 (tja) Groups: tja HOME: /home/tja Shell: /usr/local/bin/bash OK? (y/n) [y]: Added user ``tja'' Add another user? (y/n) [y]: n ( tja:$1$YwIJRFsE$2jkZDVD0kug0PPgGjCyYt/:1026:1026::0:0:User &:/home/tja:/usr/local/bin/bash ) eh? (user tja is now rmusered :) > My research shows that adduser does ask for this, in 2.2.2 and later. # grep -i class /usr/sbin/adduser | wc -l 0 -- Linux; 64bit, multi-platform, multi-tasking, multi-user, fast and Free. Microsoft Windows 95 - From the makers of EDLIN and FAT drive formatting! "Who needs horror movies when we have Microsoft"?