Subject: Re: su and groups...
To: Marc Theisen <arcmt@uni-koblenz.de>
From: Neil A. Carson <neil@causality.com>
List: port-arm32
Date: 03/23/1998 14:38:58
This is a multi-part message in MIME format.
--------------58E8E0A2DFE463951F1960E3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Marc Theisen wrote:
> No, I used rcm to define a user.
OK.
> Later on, I had to delete this entry in the files master.passwd and
> passwd several times in order to redefine the settings for this user.
Eeeek! You shouldn't edit these things directly, it's better to go via
the command vipw...
> > Are you definately in wheel in /etc/group? You need to be there, but the
> > user account doesn't have to be in wheel as it's default.
> >
>
> An env | grep group says that I am, but what does the above mean (well,
> I am not very confident with UNIX administration...)? Do I have to add
> the user to /etc/group?
Yep. Edit the file /etc/group. joe /etc/group, and aed the name of the
user who want to su to the line wheel. On my machine:
wheel:*:0:root,neil,neilwork
...is the top line of the file. So root can go to root (obviously), as
can neil and neilwork, but nobody else.
Take care,
Neil
--
Neil A. Carson Business development, Causality and Chalice Technology
Causality: WWW: http://www.causality.com email: neil@causality.com
Chalice Tech: WWW: http://www.chaltech.com email: neil@chaltech.com
Office contact: Tel/Fax: +44 (0)181 930 7408 Mobile: +44 (0)370 593183
SA110+1100, 21285/PCI, ARM, 3D, RTOSs, NetBSD, Image Processing, NC OSs
--------------58E8E0A2DFE463951F1960E3
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Neil A. Carson
Content-Disposition: attachment; filename="vcard.vcf"
begin: vcard
fn: Neil A. Carson
n: Carson;Neil A.
email;internet: neil@causality.com
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard
--------------58E8E0A2DFE463951F1960E3
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Neil A. Carson
Content-Disposition: attachment; filename="vcard.vcf"
begin: vcard
fn: Neil A. Carson
n: Carson;Neil A.
email;internet: neil@causality.com
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard
--------------58E8E0A2DFE463951F1960E3--