Precautions:
1. This main examination content: File Management-vim use Method-user group management.
2. Exam Purpose: Strengthen the recent study content
3. Test time: 30 minutes
4, in the course of the examination, prohibit the deletion of other people's files, peep others content
5 , scoring standard: first than the correct rate, and then speed. And in the Task distribution group message: "I have done." Did not quit SSH remote, not counted you have done.
6 , scoring process:
Exchange of the volume method: The class yy name ranking prevail. Ranked the first person to judge the second person's examination papers. And so on, the last exam to judge the first person in the rankings
When the Proctor announces that the volume begins, everyone logs in as root and begins to award the volume.
Make a mistake and deduct one point
7, I wish you a smooth examination.
Questions:
1 ) Create a directory under the current directory/xuegod1511/2015-12-5/your group name (one,two,three,four,five)
Example: The first group:/xuegod1511/2015-12-5/one
No group of classmates unified for the fifth group
2) create a file in the first question's directory, the file name is personal yy nickname
Example: Learning God it-1511-monitor eyes: Yanmou
(The following experiment is done with this file)
3 ) to read the contents of the/etc/passwd file in the file created by vim and save
4 ) log in as root, create the user and set the password, the user name is the pinyin of the personal nickname, the password is [email protected]
Example: Your nickname is: learn God it-1511-monitor eyes, then the user is: Yanmou
5 ) Create a group with the root user named you in the group where you are in the VIP Class (one,two,three,four,five)
6 Modify the group created by the owning group for the user you created
7 Modify the user uid to change to the current user UID + 1511.
Example: The current user UID is 1001, then modified to 2512
8 ) Copy the/boot/grub2/directory to the directory created by the first question
9 View the 9th line of the file created by the second question
Ten Add the第10-15 line in front of the file created by the second question.
One insert a row after the 9th line of the file created in the second question, with the contents: 2015-12-5 www.xuegod.cn
A Replace all sbin in line 5th through 8th of the file created in the second question with the
- Modify this file permission so that the file cannot be deleted and the content cannot be appended
- ) Modify the system default start level to third level
the ) Set server 2:00 shutdown
- ) prevents newly created users from logging on to the system and verifies that
Before the test if you do not understand the question, please QQ group "Learning God it-linux-vip-1511 class" in the message or to the following students separate message:
Learn God it-Monitor-eyes, learn God it-1511-discipline Inspection-No
Learn God it-1511-small white, learn God It-1511-hhaha
Learn God it-1511-the Red mansion, learn God it-1511-Liu Haidong
Learn God it-1511-Chase Dream
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
This article is from the "Learn God IT Education-instructor Mk" blog, please be sure to keep this source http://xuegodlinux.blog.51cto.com/10844319/1720068
Learning God-rhel7-1511 December 6 Stage Quiz topic