View Issue Details
|0008740: Don't use sudo in start_me and stop_me
|I'm trying to make a nice GUI for server management. Part of that is having a start/stop button. I'd like to use the original shell scripts for starting and stopping. However, this isn't possible because they already contain sudo. If I try to execute the scripts on Xojo I only get the beachball. I have to make a copy of the scripts and remove the sudo. Please provide scripts without the sudo. You should use authorization dialogs in the prefs pane anyways.
|No tags attached.
We do the same things in vServer's pref panel.
Probably you should simply ask the user password and do something like
echo pswd | sudo -S ....
|You know that what you are doing is a security risk, right? That's why there is an authorisation dialog.