Add account to sudouser Linux+more

environment:
 - debian 4.0

problem: (I have to add my account to sudo user. cause, if not, I got an error message like blow.)
$sudo lsmod
accountname is not in the sudoers file. This incident will be reported.

solved:
$echo 'accountname ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

comment:
NOPASSWD option makes you dont have to type password.
/etc/sudoers do not edited with vi or other editor, but sudoedit or visudo

refer : http://ubuntuforums.org/showthread.php?s=ec5ac34e0764109f92215356275ad283&t=162867&page=2

트랙백

이 글과 관련된 글 쓰기 (트랙백 보내기)
TrackbackURL : http://handmade.egloos.com/tb/4623896 [도움말]

덧글

덧글 입력 영역