Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 1997 19:30:42 +0200 (MET DST)
From:      Hans Petter Bieker <hanspb@persbraten.vgs.no>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: classes and adduser
Message-ID:  <Pine.LNX.3.95.971006192402.277A-100000@zerium.idgonline.no>
In-Reply-To: <Pine.BSF.3.96.971006101722.3726B-100000@gdi.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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"?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.95.971006192402.277A-100000>