Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
Archives
- Today
- Total
목록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