How to solve the problem when ‘sudo’ doesn’t work
1. problem
$ sudo
not work
$ sudo yum install ~~~~ ...is not in the sudoers file. This incident will be reported.
2. solution
register user into /etc/sudoers
<pre>
$ su -
$ chmod u+w /etc/sudoers
$ vi /etc/sudoers
</pre>
[/etc/sudoers 하단에 다음을 추가]
'USER_NAME' ALL=(ALL) ALL
$ chmod u-w /etc/sudoers
done!!