Questions about groups.
Coming from Gnu/Linux, I see differences in group generation on regular user generation, and there's a group I'm not familiar with - 'operator'. What does that one do? I'm familiar with 'staff' and I've added my normal user to that, and of course 'wheel'. I intend to use the system on a laptop in this case, and need to enable regular user access to audio, cdrom/dvd read and write, usb access, and network reconfiguration/dialout, games and so forth. I am not seeing such things as plugdev,audio,cdrom in etc/group after initial install. Do I need to manually add such groups and then point relevant packages to them? Thanks, -- Cheers signature.asc Description: Digital signature
Re: Questions about groups.
2009/5/4 Old Crankbuster crankbus...@gmail.com: Coming from Gnu/Linux, I see differences in group generation on regular user generation, and there's a group I'm not familiar with - 'operator'. What does that one do? Members of operator can run /sbin/shutdown among other things. find / -group operator can answer better than I ever could. I'm familiar with 'staff' and I've added my normal user to that, and of course 'wheel'. I intend to use the system on a laptop in this case, and need to enable regular user access to audio, cdrom/dvd read and write, usb access, and network reconfiguration/dialout, games and so forth. I am not seeing such things as plugdev,audio,cdrom in etc/group after initial install. Do I need to manually add such groups and then point relevant packages to them? Various methods apply (for instance /dev/dspN.n is world writable), man 5 devfs.conf is a good start for some of that. Best of luck. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Questions about groups.
On Mon, 4 May 2009 21:18:34 +0700, Old Crankbuster crankbus...@gmail.com wrote: Coming from Gnu/Linux, I see differences in group generation on regular user generation, and there's a group I'm not familiar with - 'operator'. What does that one do? The operator groupt allows its users to perform some operator tasks, without needing them to be in the wheel group. It's like a limited root permissions group. You'll find some programs that are +x for this group (for example /sbin/shutdown). I'm familiar with 'staff' and I've added my normal user to that, [...] I've often seen that FreeBSD defaults to user name = group name for the adduser script, but I usually use the staff group, as you do. Further fine grained parameters for user and group preferences can be set in an environment where you have more than one user. [...] and of course 'wheel'. Why of course? :-) I intend to use the system on a laptop in this case, [...] Typical single user setting. [...] and need to enable regular user access to audio, cdrom/dvd read and write, usb access, and network reconfiguration/dialout, games and so forth. There are several groups that you can add your user to, but because you're already in wheel, you don't have to (such as the dialer group for ppp). I am not seeing such things as plugdev,audio,cdrom in etc/group after initial install. No, they seem to be Linuxisms. :-) Do I need to manually add such groups and then point relevant packages to them? No. What should happen then? How should that work? :-) FreeBSD manages the things you're requiring through two important files: /etc/devfs.conf (and /etc/devfs.rules) and /etc/devd.conf. The devfs files control the virtual device file system. It allows you to have permissions on a per-device file basis. These files are those that are present from system startup on. The devd file controls how the system should react if it detects new devices while it's already running. See the manpages for these files. Yes, they do exist. :-) -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Questions about groups.
* ill...@gmail.com ill...@gmail.com [2009-05-04 14:39:34 -0400]: Various methods apply (for instance /dev/dspN.n is world writable), man 5 devfs.conf is a good start for some of that. Ah. Thanks. -- Cheers signature.asc Description: Digital signature
Re: Questions about groups.
* Polytropon free...@edvax.de [2009-05-04 21:02:29 +0200]: [...] and of course 'wheel'. Why of course? :-) Umm, linuxism habit :-) There are several groups that you can add your user to, but because you're already in wheel, you don't have to (such as the dialer group for ppp). I am not seeing such things as plugdev,audio,cdrom in etc/group after initial install. No, they seem to be Linuxisms. :-) :-) FreeBSD manages the things you're requiring through two important files: /etc/devfs.conf (and /etc/devfs.rules) and /etc/devd.conf. The devfs files control the virtual device file system. It allows you to have permissions on a per-device file basis. These files are those that are present from system startup on. The devd file controls how the system should react if it detects new devices while it's already running. See the manpages for these files. Yes, they do exist. :-) Excellent. Many thanks. :-) -- Cheers signature.asc Description: Digital signature