Home > OS > To the general user privilege the kill
To the general user privilege the kill
Time:12-26
Under Linux installed Jenkins, Then there are the Jenkins user performs use kill command when the shell Always prompt no permission
in the/etc/passwdJenkins: x: 493:0: Jenkins Continuous Integration Server:/var/lib/Jenkins:/bin/bash In the/etc/sudoers The root of ALL=(ALL) ALL Jenkins ALL=(root) ALL
Then still error no permission Have a great god under the guidance of?
CodePudding user response:
# # allow Jenkins user to use kill command Jenkins ALL=/bin/kill NOPASSWD: ALL Need to sudo password to ALL, don't need NOPASSWD: ALL