View previous topic :: View next topic |
Author |
Message |
chobo123 n00b
Joined: 26 Apr 2004 Posts: 64
|
Posted: Sun May 02, 2004 1:24 am Post subject: Groups |
|
|
Hi, excuse my newbiness with regards to Groups. I have been kinda confused about how they work since I got to the part in the installation guide where I had to add a user (John).
First, how do I find a listing of all the groups available. Second, are these groups consistent with other distributions, or are these groups unique to Gentoo. Third, aside from file, and directory rights for groups, do they do anything else? I noticed that when I tried to run the command
chgrp that I could only change groups to certain names.
The only Groups I have seen (mostly from adding a user from the installation guide) are:
Root
Users
Wheel -> I have no idea what this is supposed to do
Any help is appreciated. |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sun May 02, 2004 1:51 am Post subject: Re: Groups |
|
|
chobo123 wrote: | Hi, excuse my newbiness with regards to Groups. I have been kinda confused about how they work since I got to the part in the installation guide where I had to add a user (John). |
You might want to read through the File Security section of the Introduction to Linux Guide, it'll bring you up to par with the basics.
chobo123 wrote: | First, how do I find a listing of all the groups available. |
Look at the /etc/groups file:
chobo123 wrote: | Second, are these groups consistent with other distributions, or are these groups unique to Gentoo. |
Generally consistent, especially the "standard" groups.
chobo123 wrote: | Third, aside from file, and directory rights for groups, do they do anything else? I noticed that when I tried to run the command
chgrp that I could only change groups to certain names. |
Er, that's what the groups are for - file access security. If you use group names, you can only use names that already exist in /etc/groups (see the manual page for groups for that - type man groups to see documentation about its format). You can use the numeric group identifiers with chgrp, in which case you can use whichever GID you like. Don't forget that group names (just like user names) are a convenient mnemonic for the group (and user) IDs. Internally, the kernel doesn't know or care about group names - it only juggles numbers, the numeric IDs.
chobo123 wrote: | The only Groups I have seen (mostly from adding a user from the installation guide) are:
Root
Users
Wheel -> I have no idea what this is supposed to do
Any help is appreciated. |
The wheel group is mainly used by the su command. USers that aren't in the wheel group as well can't use it. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
chobo123 n00b
Joined: 26 Apr 2004 Posts: 64
|
Posted: Sun May 02, 2004 3:48 am Post subject: |
|
|
Thanks for the link! I was kinda lacking in the console command area, as well |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sun May 02, 2004 4:11 am Post subject: |
|
|
Most welcome, and have fun _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|