Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I recently installed Ubuntu Server and now I am reading about it. I am going to install software and I see many tutorials create a own user for each program and a group. I am going to install Glassfish, MySQL etc and I wonder if these should have their own users such as glassfish user, mysql user and so on? Or is it sufficient/better to just create a group and add my own nonroot account to it?

share|improve this question

2 Answers 2

Glassfish or MySQL will create their own users and I think it's better to rely on them instead of creating a group and adding your non-root user to it.

share|improve this answer

In Ubuntu, applications come in a form of packages which are stored in a package repository and installed using a package manager. A package normally comes with install scripts, config files and everything needed to run the particular software, including creating and configuring non-privileged user accounts.

You normally should not be concerned with creating user accounts for your MySQL server, manually compiling programs or even creating config files, especially if you're new to Linux. As @KetanPatel suggests, just use sudo apt-get install (package name) if you have terminal access; or use Software Center if you have GUI.

share|improve this answer
    
Why the downvote? –  Sergey Sep 22 '12 at 21:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.