[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pfctl for non-root users



Jason Dixon wrote:

On Apr 11, 2005, at 5:13 AM, Peter N. M. Hansteen wrote:

Jason Dixon <[email protected]> writes:

Is the ability to run pfctl (via sudo) as a non-root user still
broken? I've tested this on a 3.6 -release system, and /dev/pf is
still unavailable for non-root users.


[email protected]:~$ ls -l /dev/pf
crw-------  1 root  wheel   73,   0 Oct 19 00:02 /dev/pf

It certainly looks like being a member of wheel is a distinct advantage,
at least.

What kinds of operations did you have in mind?


# su - hatchet
$ pfctl -vsr
pfctl: /dev/pf: Permission denied
$ whoami
hatchet
$ groups
hatchet wheel

I don't see any sudo command here. Cedric