adduser --disabled-login --comment "" SomeUserName
adduser
: friendlier front-end foruseradd
,usermod
andgroupadd
--disabled-login
: no password and shell set to/usr/sbin/nologin
--comment ""
: don't prompt for details, successor of deprecated--gecos
flag i think
Only needed if a user needs to run a command as root/sudo (e.g. not needed for zfs send
/syncoid
when setting it up rootless with zfs allow
)
visudo /etc/sudoers.d/SomeUserName
\