Wireshark-users: Re: [Wireshark-users] FreeBSD & Running As User
From: "Guy Harris" <guy@xxxxxxxxxxxx>
Date: Thu, 27 Sep 2007 23:37:05 -0700 (PDT)
Guy Harris wrote:

> Unfortunately, I'm at work, and don't have my FreeBSD machine handy
> (and I don't remember whether I preserved my /etc/devfs.conf file when
> I upgraded from 6.0 to 6.2, so I might have to reconstruct them); I'll
> try to dig up the /etc/devfs.conf changes for this.

"Well, that was fun", he says, removing the fork from his eyeball....

It's not /etc/devfs.conf, it's /etc/devfs.rules - and /etc/rc.conf.

To, for example, make the BPF devices owned by group wheel and have mode
rw-rw----, put into /etc/devfs.rules something such as

  [localrules=10]
  add path 'bpf*' mode 0660 group wheel

and into /etc/rc.conf something such as

  devfs_system_ruleset=localrules

where the value for "devfs_system_ruleset" is the rule set name in the
label in square brackets.