본문 바로가기

운영중입니다

검색하기
운영중입니다
프로필사진 https443

  • 분류 전체보기 (45)
    • 리눅스마스터 (3)
    • DNS (3)
    • 리눅스보안 (12)
    • 리눅스 (17)
    • 워드프레스 (1)
    • etc (9)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2026/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Tags
  • 파일질라
  • linux
  • https
  • sftp
  • 서버운영
  • centos7
  • geoip
  • 리눅스명령어
  • SMTP설정
  • ip차단
  • 웹서버
  • DNS
  • 서버보안
  • Apache
  • 시스템관리
  • ubuntu
  • FileZilla
  • iptables
  • 국가IP차단
  • 티스토리챌린지
  • 리눅스서버
  • FTP
  • CentOS
  • 오블완
  • SSL인증서
  • 서버방화벽
  • 서버관리
  • oops-firwall
  • 리눅스
  • postfix
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록pam.d (1)

운영중입니다

서버 접속시 메일로 알림받기

CentOS7, Apache 기준✅ 1. Postfix 설치#서버에서 메일을 보낼 수 있도록 Postfix 같은 MTA를 설치yum install postfix -ysystemctl enable postfixsystemctl start postfixsystemctl status postfix※ 보통 CentOS7 기준 Postfix는 기본적으로 설치되어 있음✅ 2. PAM 설정vim /etc/pam.d/sshd# 맨 마지막에 추가session optional pam_exec.so seteuid /usr/local/bin/login-notify.sh ✅ 3. 스크립트 생성 및 권한 부여# 서버 접속 시 설정된 메일로 알림 메일 발송 스크립트 생성vim /usr/local/bin/login-notify.sh..

리눅스보안 2025. 9. 9. 18:30
이전 Prev 1 Next 다음

Blog is powered by AXZ / Designed by Tistory

티스토리툴바