FreeBSD
Files
# Create the user bob and add him to the wheel group
sudo pw useradd bob -m -s /bin/tcsh -G wheel
# Set the user's password
sudo passwd bob
# Add an existing user to an existing group
pw groupmod wheel -m bobNetworking
ifconfigarp -a# List active sockets
$ sockstat -4lnetstat -rn
route -nDoas
# Enumerate doas permissions
$ cat /usr/local/etc/doas.conf
...
# Permit members of the wheel group to perform actions as root.
permit nopass :wheel
# Add an existing user to an existing group
doas pw groupmod wheel -m bobLast updated