Thread
:
How to use root within script/program?
View Single Post
Saturn
2011-03-01 , 07:19
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#
6
The GUI should be run as user and the three scripts as root. Otherwise the GUI will not have all graphic elements.
In the sudoers file you can have more than one scripts defined like (there is no line break):
Code:
user ALL = NOPASSWD: /somewhere/script1.sh /somewhere/script2.sh
If you want send me the code and I will have a look for you.
__________________
Packages:
elGR Locale
,
SMSCON Editor
,
Swappolube
,
CSSU Features Configuration
,
Snuggle
,
YAMAS
,
Cleven
Garage:
SMSCON
,
Swappolube
,
CSSU Features Configuration
,
Snuggle
Wiki:
SMSCON
,
SMSCON Editor
,
Swappolube
,
CSSU Features Configuration
,
Cleven
Quote & Reply
|
The Following User Says Thank You to Saturn For This Useful Post:
AlMehdi
Saturn
View Public Profile
Send a private message to Saturn
Find all posts by Saturn