Shell Plus LDAP implementation Springboard

Source: Internet
Author: User
Tags ldap

Purpose of using a springboard: Our server is a cloud host, the use of AWS is more, and AWS is the private key to connect the public key, the way is connected to the root of the connection, this way, developers to connect to the server, it is impossible to root permissions directly linked to it, Otherwise, it poses a significant threat to the server.

Springboard to achieve the idea: the use of shell to write, the account of the use of LDAP to do centralized management + authentication, access to the use of sudo centralized control management.

LDAP: Deployment can use Yum, installation is simple, but the installed directory and structure are different from one location.

You can also use the compile installation, compile the installation, you need a certain amount of time, the period will encounter many errors, the advantage is that the compilation of the environment can be unified management in the same directory.

Both install LDAP and migrate at a very easy time.

(1) The implementation of the springboard process: LDAP installation + deployment. The LDAP I manage is managed through web administration tools.

(2) Writing Shell menu

(3) Create a common user's private key + public key, and upload the public key to the server directory on the end.

Screenshot of Implementation:

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/

Related Article

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.