I'm stíll not completely sure about the difference between the primary group of a certain user and the secondary groups user may belong to, and I have no idea how or where to find more information on what all those groups actually represent.
Thing is, my own user (reemz, UID=1000), which I created at install of SL5, has 'users' (GID=100) as primary group (or at least so /etc/passwd tells me) and is member of two dozens more, where the newly created user 'carrie' with UID=1001 (my girlfriend) is only member of group 'carrie' (GID=1001), none other.
- Code: Select all
reemz@Sm0kerZ-ParadiZe ~ $ groups
disk wheel floppy uucp cron audio cdrom dialout video games cdrw usb users haldaemon scanner plugdev entropy pulse-access pulse-rt pulse vboxusers crontab polkituser
What I would like to know is the following:
1. Should I, or should I not, create a group 'reemz' for myself and make it my primary group?
2. Should I, or should I not, make 'users' the primary group for user 'carrie'?
3. Where can I find more info on what all those groups represent, so I will know what group to add what user to?
Basically what I want is a second account on this box for my girlfriend, I don't want us to be able to touch (or even read) each others files (of course I can su but that's beside the point), and I plan to create another, highly restricted, guest account.
Yes, I have read the man pages for useradd/usermod/related stufzz, I've google my arse off, found more forums than I care to remember and zero usable info.
Anyone got a pointer?