티스토리 뷰

문제 


root@joeylee:~# sudo -u postgres psql template1 sudo: unable to execute /usr/bin/psql: Permission denied


sudo: unable to execute /usr/bin/psql: Permission denied

우분투 PostgreSQL 설치 중 postgres 계정으로 psql 실행이 안되는 현상 발생






root@joeylee:~# chmod a+x /usr/bin/perl root@joeylee:~# sudo -u postgres psql template1

psql (9.3.11) Type "help" for help. template1=#



→ 전체에 /usr/bin/perl 실행권한 부여
→ psql 실행이 잘 됨


'Ubuntu' 카테고리의 다른 글

[Ubuntu] 기본 편집기 바꾸기  (0) 2016.08.19
[Ubuntu] db 백업 스크립트 작성  (0) 2016.08.19
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Today
Yesterday
링크
«   2024/05   »
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 31
글 보관함