Skip to content

linux nopassword #92

Description

@asu126
# /etc/sudoers.d/git
# git operation
code  ALL = (git)  NOPASSWD: /usr/local/bin/git

# git bundle operation
code  ALL = (git)  NOPASSWD: /usr/local/bin/bundle

# git npm operation
code  ALL = (git)  NOPASSWD: /usr/bin/npm
code  ALL = (git)  NOPASSWD: /usr/bin/vi
code  ALL = (git)  NOPASSWD: /usr/bin/vim

# root service operation
code  ALL = (root)  NOPASSWD: /usr/bin/service
code  ALL = (root)  NOPASSWD: /usr/sbin/service

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions