From the adduser
command, I saw the option --system
to create a system user.
A system user will use /bin/false
and by default belong to nogroup
. It also won't copy the /etc/skel
to the home directory.
In which condition would I prefer to create a system user?
When you are creating an account to run a daemon, service, or other system software, rather than an account for interactive use.
Technically, it makes no difference, but in the real world it turns out there are long term benefits in keeping user and software accounts in separate parts of the numeric space.
Mostly, it makes it easy to tell what the account is, and if a human should be able to log in.
An excerpt from https://www.devdungeon.com/content/how-create-secure-linux-system-user.