Issue
I’m studying deploying rails app and all tutorials add new user before starting. Why should I add new user rather than just using root?
Reference https://gorails.com/deploy/ubuntu/16.04
Solution
This is done for security, basically root user can do anything so it's risky.
"The root user is the administrative user in a Linux environment that has very broad privileges. Because of the heightened privileges of the root account, you are actually discouraged from using it on a regular basis. This is because part of the power inherent with the root account is the ability to make very destructive changes, even by accident."
Answered By - xploshioOn Answer Checked By - Timothy Miller (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.