![]() To grant users administrative privileges, add them to the sudo group as shown $ sudo usermod -aG sudo username This command displays the uid (user ID), gid (Group ID), and the group the user belongs to.Īdditionally, you can view the /etc/passwd file which contains hashed passwords of users on the system. Once the user is created, you can find more details about the user using the id command as shown: $ id You will be prompted to provide your password and thereafter type in other details such as Full name, Room number and Tel. To add a user, use the syntax: $ sudo adduser usernameįor example, to add a user called cloudcone, issue the command: $ sudo adduser cloudcone To add a user in Ubuntu on the command line, launch your terminal by pressing Ctrl + SHIFT +T or use the application manager to search and launch the terminal. Let’s dive in and take a look at each of these ways of adding users in a Linux system: 1) How to create a user on the command line If you are using an instance of Ubuntu 20.04 LTS with a graphical interface, then each user will have a home directory with distinct sub-directories such as ‘ Documents‘, ‘ Downloads‘, ‘ Pictures‘, ‘ Music‘, and ‘ Videos‘ to mention a few. Using the Graphical User Interface (GUI).There are 2 main ways that you can add users on any Linux system: You can easily deploy a Cloudcone VPS or cloud server by visiting the cloud servers page. Adding users in any Linux system is one of the basic system administration tasks that any Linux user should be able to do with minimal effort In this topic, you will learn how to create a user on Ubuntu 20.04 LTS. Like other operating systems such as Windows and Mac, Linux is a multi-user operating system that supports multiple users, each with their separate user accounts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |