#31 How to run Install API as a non-root or sudo user


We tried to install InstallJammer API as non-root user.

Alternate option we found was to use \'sudo\'.

Sudo does work fine on console mode but does not work in GUI mode.

Please let me know, how can I tell the Install Jammer to build an application to allow non-root user or the sudo user atleast.

Approach1: I used \"Execute External Program\" action and tried to run \"sudo cp ./bashrc /etc/bashrc\" - this works in Console mode not in Gui Mode.
Approach2: Tried to use \"Execute script\" action and tried \"sudo file copy ./bashrc /etc/bashrc\" - does not work in GUI mode.

Please kindly help me to resolve this. Cant we use sudo command in tcl script.
If i try to execute a sudo command inn tclsh it works!!

my contact mail id is satsbmp111@gmail.com.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks