普通用户sudo配置


Cmnd_Alias GINLOG_SERVERS = /sbin/service ginlogServer start,/sbin/service ginlogServe
r stop
Cmnd_Alias TRD_SERVERS = /sbin/service 3rdServer start,/sbin/service 3rdServer stop
Cmnd_Alias GINOFFIC_SERVERS = /sbin/service ginofficServer start,/sbin/service ginoffi
cServer stop
Cmnd_Alias SMS_SERVERS = /sbin/service smsServer start,/sbin/service smsServer stop
jenkins ALL=NOPASSWD:GINLOG_SERVERS,TRD_SERVERS,GINOFFIC_SERVERS,SMS_SERVERS
#jenkins ALL=NOPASSWD:ALL

你可能感兴趣的:(普通用户sudo配置)