Get the App
SLTechnology News&Howtos  ›  Development  › 

How linux creates new privileged users

Shulou Source: shulou.com Published: 2022-06-01 04:59:18 10月04日 Update

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!

Tags: Users privileges content accounts articles servers permissions identity learning help services login easy to understand more organization knowledge group members editing but industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Apple Shulou Tech Info Docker MariaDB