본문 바로가기

Server/Linux

[Linux] you are not allowed to use this program(crontab)

반응형

리눅스에서 서비스 계정으로 crontab -e 실행시 아래와 같은 문구를 확인할 수 있다.

 

# crontab -e

You("user") are not allowed to use this program(crontab)

See crontab(1) for more information

 

해결방안

crontab 사용 권한을 관리하는 /etc/cron.allow 설정 파일에 crontab을 사용하는 계정을 추가 해야한다.

# cat /etc/cron.allow

user

반응형