LINUX Redhat 第5-6 Unit Exercises

Source: Internet
Author: User

<<< Five-six unit exercise >>>
1. Create a new user group, Shengchan,caiwu,jishu
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/8F/90/wKiom1jk8XrRaVi3AALKfbJ9D1o796.png-wh_500x0-wm_ 3-wmp_4-s_948948889.png "title=" screenshot from 2017-04-05 21-30-19.png "alt=" Wkiom1jk8xrravi3aalkfbj9d1o796.png-wh _50 "/>


2. New user requirements are as follows:
* Tom is an additional user of the Shengchan group
* Harry is an additional user of the Caiwu group
* Leo is an additional user of the Jishu group
* Create a new Admin user, this user does not belong to the above mentioned three departments

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/8F/90/wKiom1jk8e_TSWAgAAMr9iH8aaI649.png-wh_500x0-wm_ 3-wmp_4-s_3075444790.png "title=" screenshot from 2017-04-05 21-32-16.png "alt=" Wkiom1jk8e_ Tswagaamr9ih8aai649.png-wh_50 "/>


3. The new directory requires the following:
*/pub directory for public storage directory for all users can read, write, execute, but users can only delete files belonging to their own

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/8F/90/wKiom1jk9lahS4nnAAKcka8RjPA941.png-wh_500x0-wm_ 3-wmp_4-s_870063374.png "title=" screenshot from 2017-04-05 21-47-55.png "alt=" Wkiom1jk9lahs4nnaakcka8rjpa941.png-wh _50 "/>

*/SC directory for production department storage Directory can only be written to the production department personnel, and the production department personnel created by the files are automatically attributed to the Shengchan group

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/8F/8E/wKioL1jk98vQcEB0AAKSDCc3v08582.png-wh_500x0-wm_ 3-wmp_4-s_2763773261.png "title=" screenshot from 2017-04-05 21-56-16.png "alt=" Wkiol1jk98vqceb0aaksdcc3v08582.png-wh_50 "/>


*/CW Directory for the Finance Department storage directory can only be written to the Finance department personnel,
And the documents created by the Finance department are automatically attributed to the Caiwu group.

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/8F/8E/wKioL1jk-DLiANZkAAKevMtsc_Y252.png-wh_500x0-wm_ 3-wmp_4-s_1430479703.png "title=" screenshot from 2017-04-05 21-59-00.png "alt=" wkiol1jk-dlianzkaakevmtsc_ Y252.png-wh_50 "/>

* Admin user can use Touch tool to create files in/sc directory and/CW directory, but cannot delete files.

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/8F/9B/wKiom1jmSgSw4RpgAAK0RV03P-E807.png-wh_500x0-wm_ 3-wmp_4-s_2570044280.png "title=" screenshot from 2017-04-06 22-00-18.png "alt=" Wkiom1jmsgsw4rpgaak0rv03p-e807.png-wh_50 "/>




4. Set normal user new file permission to "r--r-----"

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/8F/9E/wKioL1jnFl2AkhrzAAWARkZUkBA690.png-wh_500x0-wm_ 3-wmp_4-s_3706290213.png "title=" screenshot from 2017-04-07 12-32-14.png "alt=" Wkiol1jnfl2akhrzaawarkzukba690.png-wh_50 "/>
5. Set Admin user can freely create new user via sudo

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/8F/9A/wKioL1jmUpqhftWvAAMVtu62wHY667.png-wh_500x0-wm_ 3-wmp_4-s_3897757949.png "title=" screenshot from 2017-04-06 22-36-54.png "alt=" Wkiol1jmupqhftwvaamvtu62why667.png-wh_50 "/>

LINUX Redhat 第5-6 Unit Exercises

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.