普通用户sudo配置

2021-06-10  本文已影响0人  skydeity

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

上一篇下一篇

猜你喜欢

热点阅读