Questions tagged [system-user]

Account used for a specific purpose, not meant to be used interactively, created with security in mind.

2 questions
18
votes
2 answers

In what condition, should I create a system user instead of a normal user?

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…
steveyang
  • 623
  • 4
  • 9
  • 15
1
vote
2 answers

How do I run sudo commands with a system user?

I want to run a minecraft server in Docker, so I started following this guide. In the guide, it is advised to create a system user with a home directory (/opt/minecraft), but without a password (you should not be able to "login" with this user) to…
Roger
  • 111
  • 5