How linux creates new privileged users
This article mainly shows you "how linux creates new privileged users". The content is simple and clear. I hope it can help you solve your doubts. Let me lead you to study and learn this article "how linux creates new privileged users".
Create a new privileged user
Create a new user account. Instead of logging in to the server as root, create your own account (user), give it sudo permissions, and then use it to log in to your server.
First create a new user:
$adduser
Grant the new user account sudo permissions by appending the sudo group (- G) to the user's group membership:
The above $usermod-a-G sudo is all the content of the article "how linux creates new privileged users". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!