*BSD News Article 58649


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!agate!howland.reston.ans.net!newsfeed.internetmci.com!news.dacom.co.kr!news.uoregon.edu!news.u.washington.edu!root
From: kargl@troutmask.apl.washington.edu
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Adding users ????
Date: 10 Jan 1996 17:16:11 GMT
Organization: Applied Phyics Lab
Lines: 26
Message-ID: <4d0s8r$qb9@nntp5.u.washington.edu>
References: <4d0h0a$smk@newsbf02.news.aol.com>
NNTP-Posting-Host: troutmask.apl.washington.edu

     DABLOODGOD wrote in article <4d0h0a$smk@newsbf02.news.aol.com> :
>
>As im getting more of my system running, Im having problems adding users.
>
>I can't seem to make an account that will allow me to su to root.I login
>as the new user, type su and get a message that Im not in the right group
>to su to root. the "id" program reports that the user is in group "wheel" 
>which is what I think is right.
>
>I use vipw to add a line, carefully copying the format from an earlier
>line. I increment the UID field, making sure it doesn't conflict, select
>group 0 ( wheel ) and exit, the databases are rebuilt just right and so on
>- Any ideas ?
>
>Thanks Dave.
>

You need to edit /etc/group.  Add the new user to the proper groups.
Note: a user can be a member of more than one group.

Steven G. Kargl     | Phone: 206-685-4677 |
Applied Physics Lab | Fax:   206-543-6785 |
Univ. of Washington |---------------------|
1013 NE 40th St     | FreeBSD 2.x-STABLE  |
Seattle, WA 98105   |---------------------|