728x90
반응형
Symptom..
서비스[service]는 올라가있는데(active), 로그를 보면 실패했다~ 안된다~ 는 식으로 나옴.
pam_unix(sudo:auth): conversation failed
pam_unix(sudo:auth): auth could not identify password for [service]
추가로 pam이나 auth, sudo를 얘기함.
반응형
Touble-shooting..
/etc/sudoers에 서비스를 사용하는 사용자를 추가해준다.
[user] ALL=NOPASSWD:[command]
# ex)
# test-user ALL=NOPASSWD:/bin/test-service
/etc/sudoers파일을 수정 한 후 서비스 재시작하기
service [service] restart
# or
systemctl restart [service]
728x90
Verifying..
서비스를 재시작 한 후 status확인해보면 정상적으로 잘 작동을 확인 할 수 있다.
service [service] status
# or
systemctl status [service]
728x90
반응형
'Linux' 카테고리의 다른 글
[Linux] apache/http 한글 깨짐 (0) | 2025.03.12 |
---|---|
[Linux] sed 명령어 (0) | 2024.11.25 |
[Linux] Curl error 60 SSL peer certificate or SSH remote key was not OK (0) | 2024.09.12 |
[Linux] /etc/fstab 설정 자동 마운트 (0) | 2024.09.10 |
[Linux] Samsung disk + AMD cpu I/O error "libata.force=noncq" (0) | 2024.06.30 |