美文网首页
普通用户sudo配置

普通用户sudo配置

作者: skydeity | 来源:发表于2021-06-10 09:39 被阅读0次
    
    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配置

          本文链接:https://www.haomeiwen.com/subject/ttupsltx.html