CentOS 6.x sudo 권한 추가

IT/Linux 2019. 6. 5. 17:54 Posted by Imtraveller
반응형

1. su를 통해 루트 계정으로 이동

 

2. vi /etc/sudoers

## Allows people in group wheel to run all commands

# %wheel ALL=(ALL) ALL

username        ALL=(ALL) ALL  <--- add

 

3. Save and exit : wq

 

4. /etc/init.d/sshd restart

 

5. 완료

반응형

'IT > Linux' 카테고리의 다른 글

crontab 등록후 You have new mail in /var/spool/mail/...  (0) 2020.12.07
[linux] 개발 유용 커맨드  (0) 2019.07.15
CentOS - VirtualBox ssh접속 설정 방법  (0) 2019.05.24
CentOS 네트워크 NAT 설정  (0) 2019.05.23
linux getmodulefilename  (0) 2018.02.09