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

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -