itsneufox / installation_openmp_ubuntu

Open Multiplayer (open.mp) server installation guide for Ubuntu and other Debian based Linux
4 stars 0 forks source link

Principle of least privilege #3

Closed Vince0789 closed 17 hours ago

Vince0789 commented 4 days ago

Follow the principle of least privilege. A user or service account should not get more privileges than it needs to do its job. Adding it to the sudo'ers group is a very bad idea as it essentially makes the account an admin on the system, when it does not need that privilege at all.

A few considerations of mine:

Any other user that you may want to give access to the directory, you can add into the svc-omp-server group.

itsneufox commented 4 days ago

Thank you for your contribution @Vince0789 I'll take your improvement into consideration and rewrite the documentation.

Also thank you for being so helpful!

itsneufox commented 4 days ago

@Vince0789 Sorry to ping you again. Could you please review the PR when you have a moment and let me know if it needs any enhancements?

Link to the rewritten branch: https://github.com/itsneufox/installation_openmp_ubuntu/tree/Rewrite

Thanks a bunch!