2013년 2월 20일 수요일

Ubuntu 12.10 일반 사용자에게 sudo 권한 주기

Ubuntu 12.10 일반 사용자에게 sudo 권한 주기



문제점 :


hadoop@ubuntuA:~$ sudo su -
[sudo] password for hadoop:
hadoop is not in the sudoers file.  This incident will be reported.


해결 방법 : 

/etc/sudoers 파일을 아래과 같이 수정하면 된다.


# Host alias specification

# User alias specification
hadoop ALL=(ALL:ALL) ALL

# Cmnd alias specification


적용후 : 


hadoop@ubuntuA:/etc$ sudo vi
hadoop@ubuntuA:/etc$



댓글 없음:

댓글 쓰기