Linux Unit9 Exercises

Source: Internet
Author: User

1. Set up the user Westos in the desktop host and set its password to Westoslinux

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/8F/F4/wKioL1jt_rGwx2q4AAEVBSxKRhI142.png-wh_500x0-wm_ 3-wmp_4-s_1763572214.png "title=" screenshot from 2017-04-12 16_55_29.png "alt=" Wkiol1jt_ Rgwx2q4aaevbsxkrhi142.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

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/8F/F5/wKiom1jt_tDjkR-MAAAw5snOF4M539.png-wh_500x0-wm_ 3-wmp_4-s_3266428745.png "style=" Float:none; "title=" screenshot from 2017-04-12 16_59_38.png "alt=" WKiom1jt_ Tdjkr-maaaw5snof4m539.png-wh_50 "/>

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/8F/F4/wKioL1jt_tHC15XzAAB1h9AcZxw339.png-wh_500x0-wm_ 3-wmp_4-s_579181122.png "style=" Float:none; "title=" screenshot from 2017-04-12 17_03_26.png "alt=" WKioL1jt_ Thc15xzaab1h9aczxw339.png-wh_50 "/>



*) Create a key authentication method for Westos users

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/8F/F4/wKioL1jt_ueDPBLpAAGdzeZyQDg069.png-wh_500x0-wm_ 3-wmp_4-s_743523566.png "title=" screenshot from 2017-04-12 17_05_13.png "alt=" Wkiol1jt_uedpblpaagdzezyqdg069.png-wh _50 "/>650) this.width=650;" Src= "Https://s3.51cto.com/wyfs02/M01/8F/F4/wKioL1jt_wuQqa3EAAF0bAsllHc199.png-wh_ 500x0-wm_3-wmp_4-s_2409963339.png "title=" screenshot from 2017-04-12 17_07_09.png "alt=" WKioL1jt_ Wuqqa3eaaf0basllhc199.png-wh_50 "/>

*) Set Westos users to only allow the use of key authentication mode, shielding their system password authentication method

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/8F/F4/wKioL1jt_xyA1zl8AACmak8HSDQ368.png-wh_500x0-wm_ 3-wmp_4-s_1831557486.png "title=" screenshot from 2017-04-12 17_13_06.png "alt=" Wkiol1jt_ Xya1zl8aacmak8hsdq368.png-wh_50 "/>

Verification: 650) this.width=650; "Src=" Https://s2.51cto.com/wyfs02/M01/8F/F4/wKioL1jt_0DRcNt-AACiorb-pRE241.png-wh_ 500x0-wm_3-wmp_4-s_1451849388.png "title=" screenshot from 2017-04-12 17_14_54.png "alt=" WKioL1jt_ 0drcnt-aaciorb-pre241.png-wh_50 "/>


This article from "Aely Wood" blog, reproduced please contact the author!

Linux Unit9 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.