Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't require root privileges for anything than initial setup/installation #175

Open
jgehrcke opened this issue Jul 30, 2013 · 2 comments
Open

Comments

@jgehrcke
Copy link

In principle, I like MSM. Just a comment on why I won't use MSM on my Debian production server (and why won't use it at all):

In http://msmhq.com/docs/installation.html every single command is prefixed with sudo. I'm fine with initially placing files such as msm to /usr/local/bin as root. However, I am not fine with having to run every single msm-related command as root, nor do I want to try out myself which one can be run as unprivileged (e.g. minecraft) user and which ones not. When following the installation instructions, I tried to leave it out sudo where I could, but too often I got an error message such as command must be run as root. I see that internally msm tries to use an unprivileged user as often as possible, but this does not change the fact that the entire security concept is wrong from the beginning when msm is often required to be invoked with root privileges. This opens the door to a massive spectrum of security problems and might provoke unwanted damage to the system.

Do not force users to invoke msm as root, ever, after having it installed!

@marcuswhybrow
Copy link

If you execute commands as the specified user root should not need to be used.

As far as I remember root is only used to su to the correct user if necessary. It's only there as a convenience for when you don't want to su manually before using MSM. For this reason it performs that process for you on a per interaction basis.

Of course if there are commands that still require root despite being the correct user they should have a reason to require that. It was never my intention to overuse root.

Generally however I'm in agreement with you that permissions are something that can always use more attention, restriction and locking down.

@Ixanis
Copy link

Ixanis commented Sep 6, 2013

I, for one, would love the ability to add to the list of users able to use the msm commands. Perhaps designate a group instead of one particular user to handle everything? Any user in group "msm" can do what user "minecraft" can do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants