tailieunhanh - .Pro OpenSSH phần 8

Điều này cho phép bất kỳ người dùng từ các khách hàng X để kết nối với màn hình của bạn. Phương pháp xauth X xác thực là một xác thực khoá dựa trên chứng nhận hệ thống khách hàng X và người sử dụng. Các tập tin ~ /. Xauthority bao gồm các khóa cho các khách hàng X. | 194 CHAPTER 8 MANAGING YOUR OPENSSH ENVIRONMENT The package is installable by any administrator not just the primary OpenSSH administrators. If packages are pushed out via a tool or process this rpm can fit into that process. rpms are easily versioned in their spec files. Creating an rpm Creating an rpm for the first time is exciting and can really upset you if things are not going well. For the following examples a Red Hat Fedora Linux distribution is assumed. SuSE systems are very similar however their path comparable to usr src redhat is usr src packages. rpms consist of two main items the source and a spec file. The spec file is where most of the energy is consumed because you have already made the source. The following is a very simple spec file that will create an rpm based on an authorized_keys file that has been created and installed in root .ssh authorized_keys. Note that in spec files the character to imply home directory is not interpreted. Inside of usr src redhat SPECS create the following file. You must be root to perform this task. Normally you can build rpms without root authority but because this needs to incorporate files readable only by root and for simplicity this build requires root access. usr src redhat SPECS cat specfile Summary Administrator Public OpenSSH Keys Name openssh-public-keys Version 0 Release 1 License Free Group Security BuildArch noarch If you are not using rpms of openssh comment this line out Requires openssh description openssh-public-keys is the collection of OpenSSH public keys maintained by the UNIX Linux adminstration staff. pre If root .ssh exists move it. if -d root .ssh then mv -f root .ssh root . echo root .ssh saved as root . fi Package will contain the following files files defattr - root root attr 0700 root root dir root .ssh attr 0600 root root root .ssh authorized_keys Note Code for this chapter is available at http . CHAPTER 8 MANAGING YOUR OPENSSH ENVIRONMENT 195 Once you .

TỪ KHÓA LIÊN QUAN