View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008740||VALENTINA SERVER||Installation||public||2020-02-29 05:53||2020-03-05 07:10|
|Reporter||Beatrix Willius||Assigned To|
|Target Version||Fixed in Version|
|Summary||0008740: Don't use sudo in start_me and stop_me|
|Description||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.|
|Tags||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.|