Re: [aclug-L] group rights
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
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
6 home directory
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
Computer Science Services Group, LLC
G: GURF KEE PAH ZSAV MOOK CHEE!!!
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
> 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?
> Troy Wolf
> ICQ 25970861