that command looks right - you could simply experiment to be sure, verifying the result in /etc/passwd and /etc/groups - AFAIK these commands are only helpers which manage lines in /etc/passwd, /etc/shadow, and /etc/groups, optionally cloning the $HOME dir from /etc/skel
also IIRC, even on distros which have the adduser
command, it's man page suggests not using that command directly; but to use useradd
instead
on an arch system, system users will be assigned a UID in the 900-1000 range, by default - login users will be assigned a UID in the >=1000 range - and the system standard users (eg: per sysusers) have very low UIDs ~ <100-ish
in /etc/passwd:
UID GID GECOS
v v v
user:x:1000:1000::/home/user:/bin/bash
^ ^ ^ ^
user pass $HOME shell
git:x:982:982:git daemon user:/:/sbin/nologin
dbus:x:81:81:System Message Bus:/:/sbin/nologin
'pass' is usually 'x', which indicates that the password is actually stored in /etc/shadow
the GID should correspond to a group in /etc/groups
GECOS is optional human-readable user details, such as full name and contact info, which can be specified with the --comment
option