687
edits
Changes
→Create a user
This will create a user with a random password that can do passwordless doas:
useradd -m -g staff -L staff -G wheel -c 'Aram Hăvărneanu' -s /usr/local/bin/bash -p `jot -r -c 30 a z | rs -g0 0 30 | encrypt -b a` aram
Enable passwordless doas for the staff group: