Complete.Org: Mailing Lists: Archives: discussion: May 1999:
Re: [aclug-L] group rights

Re: [aclug-L] group rights

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Air Capital Linux Users Group <aclug-L@xxxxxxxxxxxx>
Subject: Re: [aclug-L] group rights
From: "Clint A. Brubakken" <cabrubak@xxxxxxxxxxxx>
Date: Thu, 6 May 1999 16:15:41 -0500 (CDT)
Reply-to: aclug-L@xxxxxxxxxxxx

Yes, Redhat creates a group with the same name as the user, and puts it
as thier primary group. 

here is my entry in the /etc/password file (with shadow passwords)
1        2 3    4  5                  6              7
cabrubak:x:1255:56:Clint A. Brubakken:/home/cabrubak:/opt/tcsh/bin/tcsh

Fields correspond 
1 userid
2 password(x for shadow passwords)
3 User Id Num
4 Default Group ID
5 Gecos (normally username but could be anything) whats given when you
        finger user
6 home directory 
7 shell

and a few from /etc/groups
1      2  3 

1 Group Name
3 extra users

so you can see I belong to devels (because the gid is what is in the
passwd file) and admin 

You can go ahead an exit the groups file and add them to any group they
need be in. 

Of course to change their default group, you'd have to edit the gid (4th 
 field) in the passwd file.  And make sure to chgrp their files if you
change it.

Clint Brubakken
Computer Science Services Group, LLC
Wichita, KS
A:  What the hell was that?
T:  Greg's helping me collect from Trekkie deadbeats.  In Klingon.

                                        -- Greg, AJ, Tanya
User Friendly, 12/20/1997

On Thu, 6 May 1999, Troy Wolf wrote:

> I don't understand group rights and associations very well.
> When you add users under Redhat Linux, the user is placed into a group with 
> the same name as the user.  Is this kind of hokey?  I notice in the 
> /etc/group file that a group named 'users' exists, yet nobody is a member of 
> it.
> I'm wondering because I'm still fighting getting dial up access to my Linux 
> server.  I think It's down to whether I have proper rights and/or group 
> associations.  I think my mgetty / ppp configuration references a group 
> called 'modem', but I'm not sure how to interpret the config files.  If so, I 
> suppose I need to add a group 'modem' then add my username to it?  Can I 
> simply edit the 'group' file with vi?
> Thanks.
> Troy Wolf
> troy@xxxxxxxxxxxx
> ICQ 25970861

[Prev in Thread] Current Thread [Next in Thread]