23 | | Unless you are willing to type the password into a window in which the controller is running, it should be able to sudo without using a password. The two commands that the controller runs are shell scripts called {{{connect}}} and {{{disconnect}}}. The user configuring the desktop controller controls the rest of the pathname of those scripts. You can configure sudo to allow those scripts to be run without a password. See the sudo manual for details. |
| 23 | Unless you are willing to type the password into a window in which the controller is running, it should be able to sudo without using a password. The two commands that the controller runs are shell scripts called {{{connect}}} and {{{disconnect}}}. The user configuring the desktop controller controls the rest of the pathname of those scripts. You can configure sudo to allow those scripts to be run without a password. See the sudo manual for details, but these lines worked for me: |
| 24 | |
| 25 | {{{ |
| 26 | ## Let members of group fedd run the connect/disconnect commands without a password |
| 27 | %fedd ALL=NOPASSWD: /bin/sh /vim/fedd_desktop/local/connect, NOPASSWD: /bin/sh / |
| 28 | vim/fedd_desktop/local/disconnect |
| 29 | }}} |
| 30 | |
| 31 | (That assumes that base: is set to /vim/fedd_desktop, which you will probably change.) |