Wireshark-users: Re: [Wireshark-users] No interfaces, no /dev directory (MacOS X)
On Sep 6, 2011, at 00:13 , Guy Harris wrote:
On Sep 5, 2011, at 10:03 PM, Steven Ross wrote:
Thanks for the explanation of the /dev directory. Confirmed
everything you said and it does show there /dev/bpf0 to /dev/bpf6.
bpf6? Initially, only 5 BPF devices are created;
Today, after shut-down over night, it only shows bpf0 to bpf3, see
below.
1) What does the command "id" print?
uid=501(svenr) gid=501(svenr) groups=501(svenr),98(_lpadmin),
32(boinc_project),31(boinc_master),101(com.apple.access_ssh),80(admin)
2) What does the command "ls -l /dev/bpf*" print?
crw-rw---- 1 root wheel 23, 0 Sep 6 21:29 /dev/bpf0
crw-rw---- 1 root wheel 23, 1 Sep 6 20:47 /dev/bpf1
crw-rw---- 1 root wheel 23, 2 Sep 6 20:47 /dev/bpf2
crw-rw---- 1 root wheel 23, 3 Sep 6 20:47 /dev/bpf3
What do the commands
which dseditgroup
/usr/sbin/dseditgroup
and
man dseditgroup
print?
dseditgroup(8) BSD System Manager's Manual
dseditgroup(8)
NAME
dseditgroup -- group record manipulation tool.
SYNOPSIS
dseditgroup [options] [parameters] groupname
options:
-o operation perform (read, create, delete,
edit,
checkmember) operation with
given group-
name
-p prompt for authentication
password
-q disables interactive verification
-v verbose logging to stdout
parameters:
-m member username to use for checkmember
option
-n nodename directory node location of
group record
-u username authenticate with admin username
-P password authentication password
-a recordname name of the record to add
-d recordname name of the record to delete
-t recordtype type of the record to add or
delete
-i gid gid to add/replace
-g guid GUID to add/replace
-S sid SID to add/replace
-r realname realname to add/replace
-k keyword keyword to add
-c comment comment to add/replace
-s timetolive seconds to live to add/replace
-f n | l change the group's format - 'n'
for the
new group format and 'l' for
the legacy
group format
DESCRIPTION
... (followed by several pages of manual, I assume you don't need me
to paste them all?)