I bought some software from Atlassian (Jira, Confluence etc.) and I am installing it. One of the programs recommend me to create a user with limited access for only that program, and it also wants me to installit in /usr/local. I am new to Linux so I don't understand why I need to create such a user nor do Iknow how. And this user would not be able to writemin these folders does it? I don't understand the benfits to make several users? I am running ubuntu server.
Writing a new user specifically for one application is a really good idea.
If someone was able to hack through the program somehow, will not have administrator privileges (they won't be "root"), only the privileges assigned to that specific user. You can create a new user in debian/ubuntu consoles by executing this command:
(where you change mynewusername to your liking)
You may also want to assign the user into some groups:
(where you change the newgroup and mynewusername. Changes when you logout/login that specific user.)
Also, they won't be able to see other users' files (if file permissions are assigned properly). You can change file permissions using the