On Sat, Oct 29, 2011 at 04:10:46PM +0200, David Marec wrote:
> So, what's should be the news group&user's rights required by HPLIP/cups 
> on FreeBSD 9 ?

> And, how to handle them with devd ?

Use devfs rules.

Pasting from http://www.stack.nl/~jilles/unix/freebsd-devfs.txt

Create or edit /etc/devfs.rules and put something like this in it:

[devfsrules_mybox=10]
add path 'fd0*' mode 660

See man 8 devfs for more information.

Then put in /etc/rc.conf

devfs_system_ruleset="devfsrules_mybox"

If you want to edit other /dev mountpoints (e.g. for jails) use
something like

devfs_set_rulesets="/usr/jails/jail1/dev=devfsrules_jail1 
/usr/jails/jail2/dev=devfsrules_jail2"

-- 
Jilles Tjoelker
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to