<<< Five-six unit exercise >>>
1. Create a new user group, Shengchan,caiwu,jishu
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=" Http://s1.51cto.com/wyfs02/M01/88/90/wKiom1f7fTKDq-mLAAD7FBuZbZQ085.png-wh_500x0-wm_3 -wmp_4-s_899369743.png "title=" Qq20161010193045.png "alt=" Wkiom1f7ftkdq-mlaad7fbuzbzq085.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
*/SC directory for production department storage Directory can only be written to the production department personnel,
and the documents created by the production staff are automatically attributed to the Shengchan group.
*/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.
* Admin user can use Touch tool to create files in/sc directory and/CW directory, but cannot delete files.
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/88/90/wKiom1f7fanhmyOaAACbH4BSziI587.png-wh_500x0-wm_3 -wmp_4-s_839693516.png "title=" 2.png "alt=" Wkiom1f7fanhmyoaaacbh4bszii587.png-wh_50 "/>
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/88/8C/wKioL1f7fgXhOlQLAAArLwVBP9E566.png-wh_500x0-wm_3 -wmp_4-s_1442407383.png "title=" 4.png "alt=" Wkiol1f7fgxholqlaaarlwvbp9e566.png-wh_50 "/>
4. Set normal user new file permission to "r--r-----"
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/88/90/wKiom1f7fjuiaVTbAAA4rTzSnXo941.png-wh_500x0-wm_3 -wmp_4-s_3118308718.png "title=" 12.png "alt=" Wkiom1f7fjuiavtbaaa4rtzsnxo941.png-wh_50 "/>
5. Set Admin user can freely create new user via sudo
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/88/90/wKiom1f7fm7RxWeaAAAqgWUUXhU189.png-wh_500x0-wm_3 -wmp_4-s_2801858517.png "title=" 5.png "alt=" Wkiom1f7fm7rxweaaaaqgwuuxhu189.png-wh_50 "/>
<<< Nineth Unit Exercise >>>
1. Set up the user Westos in the desktop host and set its password to Westoslinux
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/88/90/wKiom1f7frXiox52AABWUkJGp6k954.png-wh_500x0-wm_3 -wmp_4-s_2688344788.png "title=" 6.png "alt=" Wkiom1f7frxiox52aabwukjgp6k954.png-wh_50 "/>
2. Configure the SSHD service requirements in desktop as follows:
*) Set SSHD service to allow only Westos users to be accessed using
*) Create a key authentication method for Westos users
*) Set Westos users to only allow the use of key authentication mode, shielding their system password authentication method
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/88/8C/wKioL1f7ftTRD60sAAA4VRYvq3E573.png-wh_500x0-wm_3 -wmp_4-s_1077058323.png "title=" 7.png "alt=" Wkiol1f7fttrd60saaa4vryvq3e573.png-wh_50 "/>
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/88/90/wKiom1f7fu-iQ9uxAAFR8nFbs9E357.png-wh_500x0-wm_3 -wmp_4-s_1366352470.png "title=" 8.png "alt=" Wkiom1f7fu-iq9uxaafr8nfbs9e357.png-wh_50 "/>
<<< 11th Unit Exercise >>>
1. Creating the Set-ip-tool command in the system requires the following
when Set-ip-tool 172.25.254.X is executed in the system
*) will automatically display the output of the ifconfig command
*) System IP is set to: 172.25.254.X
*) The system gateway is set to: 172.25.254.250
*) The system DNS is set to: 172.25.254.250
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/88/90/wKiom1f7fziizhiMAAE2jK36guQ797.png-wh_500x0-wm_3 -wmp_4-s_3899879340.png "title=" 13.png "alt=" Wkiom1f7fziizhimaae2jk36guq797.png-wh_50 "/>
<<< 12th Unit Exercise >>>
1. Package the/etc directory in the server host and compress it into/mnt, with the name etc.tar.gz
2. Copy the etc.tar.gz from the server host to the/MNT in the desktop host
3. Synchronize all files in/etc in the server host to the desktop host in/mnt, including linked files
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/88/90/wKiom1f7f1qCsCylAAA1uryd_Yc162.png-wh_500x0-wm_3 -wmp_4-s_73454522.png "title=" 9.png "alt=" Wkiom1f7f1qcscylaaa1uryd_yc162.png-wh_50 "/>
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/88/8C/wKioL1f7f2iSruVaAABRwgVcvR8057.png-wh_500x0-wm_3 -wmp_4-s_973453593.png "title=" 10.png "alt=" Wkiol1f7f2isruvaaabrwgvcvr8057.png-wh_50 "/>
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/88/8C/wKioL1f7f4SA06XFAABjf93sbD0105.png-wh_500x0-wm_3 -wmp_4-s_4094546882.png "title=" 11.png "alt=" Wkiol1f7f4sa06xfaabjf93sbd0105.png-wh_50 "/>
Linux West Open Job 2