![]() ![]() Now switch to the other user via tapping on that. You can see both of your running users and the newly created user there. Now, from the applications menu, go to the Users option. At first, use the adduser command just like the previous section to create a new user to work with. The whole thing can also be done graphically using the desktop environment provided by Linux. sudo adduser ouruser sudoĪnd verify that with the same procedure we have already done for the previous way. We can also do these two steps within a single step. As we have added our new user to the sudoers group, now let us verify if that is done successfully. a in this syntax means the append operation and G mean the sudoers group. Let us see the addition via the usermod command. You have plenty of ways to add the new user to the sudo group via the terminal. Now you have a whole new user that is ready to be added to the sudoers group. Addition of sudo User via the TerminalĪt first, you have to create a whole new user using the adduser command. You can choose any of them according to your convenience. The processes are pretty easy and straightforward. ![]() There are several ways of achieving that. In an operating system running by Ubuntu or Debian, we have to follow the same steps to achieve our goal. ![]() Adding a sudo User in Ubuntu or Debian Based Systems First, we shall see the procedure in detail for Ubuntu or Debian-based Distros. Here in this post, we are going to cover all of them in detail. You can do that from the terminal also, you can do that from settings. In Linux systems, you can create a sudo user or can add an existing user to the sudoers list in various ways. Adding or Creating sudo User in Linux System Most of the popular distros of Linux are going to be covered in this post. After adding a sudo user, you will have access to all the commands associated with sudo.ĭepending upon the operating system of the user, the procedure of installing sudo and adding a new user account with sudo access is slightly different. To use the sudo command, first, you have to know how to create a sudo user in Linux. It gives you the privilege to perform server administration as a non-root user. The sudo is one of the most popular command-line programs used in Linux systems. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |