Skip to content

linux nopassword #92

@asu126

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

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