User management in the Ubuntu Linux operating system

Source: Internet
Author: User
Tags system log

As you can see, most of the tasks are easy to accomplish in Ubuntu's daily use. But what happens when you're ready to expand your application on Ubuntu, such as using a new application, building a home network, and adding a new user? This brief how-to article will share some tips with you, including creating and managing other users, validating some key differences with other tips, and providing some tips for root users. Perhaps the most important thing is that these steps will help you strengthen your use of Ubuntu systems, and make it more than just another personal desktop.
The first chapter, understanding the users in Ubuntu
 
The security and versatility of your Ubuntu system relies heavily on how you assign permissions to users and how they are used. It may be even more important to understand how the Ubuntu gnu/linux environment handles the user's principles than to analyze the old-fashioned and tedious details.

First of all, when you install Ubuntu, you will be asked to create a user account, the initial user account, which will store the user files associated with it in the home file directory, which is also true for the users who are created next, but for the first user account you create, there are some more special things.

For my own example, when I installed Ubuntu, I created a "mark" user account. This mark is not just my first Ubuntu user, it is also automatically granted special, very powerful permissions that other users do not have. My mark account can create users, change files and file directories, and perform some admin-type functions on Ubuntu, which are usually done with another important user account "root".

Therefore, in Ubuntu, you should understand the following three key users:
* Initial user created when Ubuntu is installed, it's in my name mark.
* The root user usually has the highest privileges and is therefore considered an administrator.
* All other users, I am referring to the basic users that are added after the installation is complete

The three types of users mentioned above, each have their own folders, their own privileges, and most importantly, their specific roles in your Ubuntu system. In the following paragraphs, I'll show you how to activate and use them. Let's start with the basic user.
Note: Now, I am assuming that you are logged in as an initial user, because only then will you have the permissions required to do the following tasks.
Chapter II, creating and managing novice users
When you install Ubuntu at home or in your office, it's inevitable that someone else will plead with you to let them use the system. Some people may want to experience one of the very cool apps that are installed by default in the system, but there are people who would like to see the power of Gnu/linux. In other words, you need a good way to give them permission to log in, but not touch the key features of those systems.

The first step: through user and group tools.

With user and user group tools, you can easily create a basic user. Method? Open your main menu and see the System option? Select, and then select Users and Groups.
Note the following information that appears:
 


This is a very important message, and it is a feature of Ubuntu that is expressed. In most gnu/linux systems, privileged users are usually root, and passwords are the corresponding passwords for root. But in Ubuntu, this privileged user is the initial user you created, so you have to enter the password for this user account.
Once you enter the password, you will have the right to operate all kinds of administrator tools. I'll make a further elaboration of the reasons for this in the "Understanding Super User" section.

Step Two: Add a new user

You should have seen the user and group tools now. Now, select the Add User button on the right, and your choice of which account group to include depends on what kind of user you are adding and what you want to do with Ubuntu. If you just want to add a base user so that other people can get into your Ubuntu system, the default option is to meet that requirement.
For example, I'll add my son John as the basic user of my Ubuntu system so he can enjoy some great gnu/linux games on my computer. Here is the user's sample information, note that I want to give my son a safe and good memory of the account, so I chose to manually set the password.
Figure 2: Adding a new user with basic permissions
 


Before you press the "OK" button, please click on the "User Rights" tab on the top. Whenever you want to create a new user, this is a very important step.
Under this tag, you should first note that the default to the underlying user's access rights. Maybe you want to change some of them, such as "Monitoring the System log" and "Connecting to the network," and so on. Any options that are checked will be allowed to be used by the user. And make sure you don't. "Perform system management tasks" on the hook.
Once you are fully satisfied with the permissions given to the new user, press the OK button. Well, at this point, you should return to the main window of the user and Group tool. Now, scroll down and know that you see your new additions to the user. Here's what I'm adding: John. As shown in Figure three
Figure 3: Successfully adding a user

Finally, after you have successfully added a new user, do not forget to click the OK button again. As a result, the account you create and the added information is saved, and Ubuntu automatically creates the new user's catalog file in the home directory. At this point, your new users will be able to login to the system and enjoy the fun of Ubuntu Gnu/linux.

If for some reason, login failed, please refer to the best troubleshooting method in this article.
Step three, make further changes.

Note that you can change the user's properties by selecting the user name and pressing the attribute button as long as you wish. Or, if the user no longer has the value of being, you can select it and press the Delete button.

If you decide to delete the base user at one time, you should know that the files and folders that the user corresponds to will not be automatically erased, and that only the user's login rights will be removed. This is a very important advanced feature because it allows you to recover the users you deleted without losing any files.
If you really want to remove the user's file directory completely, you need to provide Superuser command. This is the best step for a beginner Ubuntu user, and of course I have a detailed description of this in the "Understanding Super User" section.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.