Ubuntukylin base Groupadd When you add a new user group, you are prompted not to lock etc Group

Source: Internet
Author: User

Town Yard text:
The Confucian School of the practical and practical, line Buddhism Purdue sentient beings, the monastic Kangsheng fidelity, understanding of the easy to change the image. To science and technology to shine a good law, the achievement of a conscience blog.
______________________________________________________________________________________________________

My system: Ubuntukylin 16.04 LTS 64bit


STEP0:

Querying the owner and user group for a file

650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M02/8D/FE/wKioL1iyxkLwBY46AADp0DtOS_s040.png "style=" float : none; "title=" 2017-02-25 18-18-25 screen. png "alt=" Wkiol1iyxklwby46aadp0dtos_s040.png "/>


Step1:

Use the CHGRP command to change the user group to which the specified file belongs.

But there is no such user group to create

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/8E/00/wKiom1iyxkKypBNrAAAoN8KKloA590.png "style=" float : none; "title=" 2017-02-25 18-18-54 screen. png "alt=" Wkiom1iyxkkypbnraaaon8kkloa590.png "/>


Step2:

Create a user group with Groupadd, an exception occurs

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/8D/FE/wKioL1iyxkLid7jEAABPDTU0rI8793.png "style=" float : none; "title=" 2017-02-25 18-19-32 screen. png "alt=" Wkiol1iyxklid7jeaabpdtu0ri8793.png "/>


Step3:

Sudo-s promote identity to root administrator

To create a user group

789 is the set of user group permissions that are made. No exception occurred after upgrading to root.

Changes the user group to which the specified file belongs.

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/8D/FE/wKioL1iyxkOhoyPzAABpha9Q920329.png "style=" float : none; "title=" 2017-02-25 18-19-53 screen. png "alt=" Wkiol1iyxkohoypzaabpha9q920329.png "/>


STEP4:

View the result of the modification

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M01/8E/00/wKiom1iyxkTh3SvMAAFYz8k4zT8125.png "style=" float : none; "title=" 2017-02-25 18-20-01 screen. png "alt=" Wkiom1iyxkth3svmaafyz8k4zt8125.png "/>





______________________________________________________________________________________________________
If you think this blog post has a place to improve, please comment, I will think carefully.
Note: This blog post is only used for scientific research, if the infringement of your interests, please inform me, I will make the appropriate treatment.





This article is from the "calm mind like water, chi just like the pan." Blog, be sure to keep this source http://xinjingzhigang.blog.51cto.com/12262830/1901438

Ubuntukylin base Groupadd When you add a new user group, you are prompted not to lock etc Group

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.