linux - Calling a shell script from eclipse that requires sudo password -


i need call shell script eclipse deploys python files, however, need pass in sudo password, have managed bring prompt password when running script dont understand how can set root password in sudo command


try set nopasswd in /etc/sudoers specific commands

<user> all=(all) nopasswd: <cmd1> [cmd2 [cmd3]] 

to edit /etc/sudoers have use:

sudoedit /etc/sudoers 

Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -