Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
/etc/group Question

/etc/group Question

2004-04-21       - By Ow Mun Heng

 Back
Reply:     1     2     3  



> -- --Original Message-- --
> From: Steven J. Yellin [mailto:yellin@(protected)]
> Sent: Wednesday, April 21, 2004 10:27 AM
> To: Discussion of Red Hat Linux 9 (Shrike)
> Subject: Re: /etc/group Question
>
>
> On Wed, 21 Apr 2004, Ow Mun Heng wrote:
>
> > Hi Guys,
> >
> >   Simple question.
> >
> > in the /etc/group file, have something like this
> >
> > Group1:userA,userB,userC
> > Group2:userD
> >
> > If Some Group2 is a subset of Group1, can I put this in
> >
> > Group2:userD,Group1
> >
> > I'm just looking for a shortcut so that I don't have to
> > type (okay copy/paste) the users from Group1 to Group2.
> >
>     I think you should copy/paste.  I see nothing wrong with
> having a user
> with the same name as a group.  So any reasonable software
> that makes use
> of /etc/group can be expected to interpret
>
> Group1:userA,userB,userC
> Group2:userD,Group1
>
> to mean that the users named "userD" and "Group1" are in the
> group named
> "Group2", and are not necessarily in the group named "Group1" (unless
> /etc/passwd specifies that they are), while the users named "userA",
> "userB", and "userC" are in the group named "Group1", and are not
> necessarily in the group named "Group2".

I understand the default behaviour, however, so it's definite that without
copy/paste the system won't be able to recognise that everyone in Group1
are also members of Group2.

Okay.. I've already done the copy/paste but just asking if it's possible.

Thanks.



--
Shrike-list mailing list
Shrike-list@(protected)
https://www.redhat.com/mailman/listinfo/shrike-list

Earn $52 per hosting referral at Lunarpages.