리눅스-Linux

[Linux] SUDO 명령

뭉탁거림 2013. 9. 16. 15:17

/etc/sudoers 환경설정 파일을 사용

* 환경설정의 예

## User Aliases

## These aren't often necessary, as you can use regular groups

## (ie, from files, LDAP, NIS, etc) in this file - just use %groupname

## rather than USERALIAS

# User_Alias ADMINS = jsmith, mikem : jsmith, mikem 에 ADMINS 이름과 결합

# %wheel ALL=(ALL) ALL : 그룹 wheel의 모든 사용자에게 모든 명령어를 허용