[AIX] Security - /etc/security/login.cfg

반응형

login.cfg File

Purpose

Contains configuration information for login and user authentication.

Description

The /etc/security/login.cfg file is an ASCII file that contains stanzas of configuration information for login and user authentication. Each stanza has a name, followed by a colon (:), that defines its purpose. Attributes are in the form Attribute=Value. Each attribute ends with a newline character, and each stanza ends with an additional newline character. For an example of a stanza, see the "Examples" section.

 

위 파일에 User Authenticatin 방식이 두가지 있다. std_auth와 pam_auth 인데, std_auth는 기본(Default)이고, pam_auth는 /etc/pam.conf 파일을 설정하여 인증하게 된다.

pam.conf 파일이 제대로 설정되지 않은채 pam_auth 인증방식을 선택한다면 ftp/login시 실패할 수도 있다.

 

auth_type Defines the route through which all users will be authenticated (in supported applications). The two values to which auth_type can be set are:
PAM_AUTH
Use PAM to authenticate users via the /etc/pam.conf file
STD_AUTH
Use an application's standard means of user authentication. This is the default value.

반응형