-
Notifications
You must be signed in to change notification settings - Fork 255
Data: Create a SUDO User
📂 Click Here - Sign up for Google's Suite for Business - Unlimited Space
📂 Click Here - NZB's with from NewsHost - PG Members Receive a 58% Discount
Table of Contents
New to Linux? So like me when I first started, what is the purpose of a sudo user? Why not just login and use 'root' for everything. Using root is "ok", but is not ideal unless you have to. Sudo is an abbreviation of “super user do” and is a Linux command that allows programs to be executed as a super user (aka root user) or another user. For those who are familiar to Windows or using a MAC, it the same situation when asked for admin credentials.
SUDO SU!
What makes a sudo user different is that the user is allowed to utilize elevated credentials when the password to execute is requested as such. Even with the extensive amount of security training that one has, it is easy to forget that being the admin on a box is a bad thing when conducting general tasks such as surfing the web. If a rootkit is present, well the root kit will have admin credentials to install (it's a bit more complicated, but the idea of is worth the understanding.
When you using Linux for the first time, deleting a folder not within in your /home/user folder will prompt for sudo credentials. If you are not a sudo user... well you cannot do anything about it. As you can see in the demo below, the user 'home' is already a sudo user. @ position (1), the user 'home' is attempting to make a folder called 'corn' at the root directory of the operating system. It fails because home is attempting to make a folder outside of it's granted user permissions. Therefore, utilizing 'sudo' @ position (2) enables the user 'home' to execute an elevated action. The end state @ position (3) allows the creation of the folder.
Example of SUDO Execution
So why does PlexGuide need root or sudo credentials? Remember, PlexGuide is a massive installer so credentials are required for certain actions.
- Creating a SUDO USER is not REQUIRED for PLEXGUIDE, but is good to have for security reasons
- Substitute [YOUR-USERNAME] with your username
- Run each line one at a time. Do not mass copy and paste!
- Good idea to change your root password if you were emailed one by your server/vps provider – simply type passwd and type a new one whilst still logged in as root user
- su means substitute/switch user
- Ideally you should not be using your root account as you can break your Ubuntu install if you do not know what you are doing.
- You must execute PlexGuide as a SUDO or ROOT user
PG YOUTUBE: Understanding USENET
NONE SO FAR
Home - https://plexguide.com