반응형
부제: PAM·nsswitch 인증 설정을 프로파일 단위로 안전하게 전환
authselect current # 현재 선택된 프로파일 확인
authselect list # 사용 가능한 프로파일 목록
authselect check # 현재 설정이 유효한지 검사
No existing configuration detected.- minimal Local users only for minimal installations
- sssd Enable SSSD for system authentication (also for local users only)
- winbind Enable winbind for system authenticationauthselect는 RHEL 8부터 도입된 인증 설정 관리 도구다. /etc/pam.d/와 /etc/nsswitch.conf를 직접 편집하는 대신, sssd·winbind·minimal 같은 검증된 프로파일을 골라 인증 스택을 구성한다. 지문 인증, smartcard, mkhomedir 같은 기능은 feature 단위로 켠다.
데비안에는 대응 명령이 없고, 구형 RHEL의 authconfig를 대체한다. authconfig가 설정 파일을 직접 덮어써 추적이 어려웠던 문제를, authselect는 프로파일과 백업으로 되돌릴 수 있게 개선했다.current·list·show·check·test는 읽기 전용이라 안전하다. 위 환경은 프로파일 미선택 상태다. select·enable-feature는 인증을 실제로 바꾸므로 다루지 않는다.
이렇게도 쓴다
특정 프로파일이 어떤 파일을 바꾸는지 적용 전에 설명으로 본다.
authselect show sssd
프로파일에서 켤 수 있는 기능 목록을 확인한다.
authselect list-features sssd
프로파일이 요구하는 사전 조건(패키지·서비스)을 본다.
authselect requirements sssd
select 없이 바뀔 내용을 미리 출력만 해본다(실제 적용 안 함).
authselect test sssd with-mkhomedir
설정 유효성 검사와 현재 프로파일을 함께 확인한다(조합용).
authselect check && authselect current
만들어 둔 백업 목록을 확인한다.
authselect backup-list반응형
'명령어 > Linux' 카테고리의 다른 글
| [RHEL] bond2team bonding 설정을 team으로 변환 (0) | 2026.07.18 |
|---|---|
| [RHEL] auvirt 가상머신 실행 이력 조회 (0) | 2026.07.18 |
| [RHEL] ausyscall 시스템콜 이름과 번호 변환 (0) | 2026.07.17 |
| [RHEL] ausearch 감사 로그를 조건으로 검색 (0) | 2026.07.17 |
| [RHEL] aureport 감사 로그 요약 리포트 (0) | 2026.07.17 |