petermlm
|
2010-12-31
, 13:57
|
Posts: 8 |
Thanked: 3 times |
Joined on Dec 2010
|
#1
|
The Following User Says Thank You to petermlm For This Useful Post: | ||
|
2010-12-31
, 14:27
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#2
|
chmod +x /home/user/bin/SomeApplication
|
2010-12-31
, 18:55
|
Posts: 8 |
Thanked: 3 times |
Joined on Dec 2010
|
#3
|
For it to work you have to have all the dependencies, if any, installed. If it is something like a script you have to make the file executableTher more complex it becomes, the more likely it is to have the application installed in the proper path /usr/bin/ with additional stuff being either /usr/share /usr/lib.Code:chmod +x /home/user/bin/SomeApplication
./file
su -c ./file user
|
2010-12-31
, 19:20
|
Posts: 701 |
Thanked: 585 times |
Joined on Sep 2010
@ London, England
|
#4
|