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
Post a Comment