'Add'에 해당되는 글 1건

  1. 2012.11.23 CentOS sudoer list 등록

redhat 계열은 ubuntu 계열과 달리 초기에 sudo 를 사용할수 있게 셋팅되어 있지 않음

해서 sudoer list에 add 를 해줘야 sudo를 쓸수 있음

등록:

[mirandam@charon ~]$ su
Password:    <--- Enter root password

[root@charon mirandam]# chmod +w /etc/sudoers
[root@charon mirandam]# echo 'mirandam ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
[root@charon mirandam]# chmod -w /etc/sudoers
[root@charon mirandam]# exit


출처: http://www.mjmwired.net/resources/mjm-fedora-fc6.html#sudo

Posted by 미야프
,