![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [AIX] executing script | piooooter | UNIX for Dummies Questions & Answers | 1 | 05-25-2006 09:53 PM |
| executing script | big123456 | Shell Programming and Scripting | 1 | 06-03-2005 04:32 AM |
| RSH use for executing a script | frustrated1 | Shell Programming and Scripting | 6 | 10-02-2003 05:24 AM |
| Executing ksh script from cgi | hodges | Shell Programming and Scripting | 1 | 05-27-2003 07:57 AM |
| Executing Ps in script | Claude | Shell Programming and Scripting | 1 | 11-21-2001 11:01 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Executing a script through GUI
Hi
I'm facing a situation where we need to restrict commandline access to Unix server. But there are some scripts that needs to be executed. I need to execute a script with double-click or something like that without having command-line access. I appreciate your thoughts on this. Regards, Vijay |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Hello...
There are plenty of web-writing-utilities and IDEs that will let you execute scripts with a click. You make them links and when the links are pressed, the result is the execution of a specific script. You can roll your own a little more too... With the pressed link, you call a perl CGI program (or something you write in some other language or IDE) that executes the specific script. It is a little more complicated than just a click unless you never use arguments in your command line, or at least never change them, Calling a program is just like naming a web page e.g. <a "href=http://www.bla.bla.com/programToRun.cgi">click to run utility X</a> Of course a static list of utilities to execute is not very exciting and always a maintenance problem with you want to change things in your scripts. What you want can be done as a quick hack for a few staticly named scripts, or the beginning of a whole command and control system. |
|
#3
|
|||
|
|||
|
A possible way:
- Add a new user for this - Install sudo - Edit sudoers accordingly to your needs (ie. if root or some rights of another user is needed to execute those scripts) - Have a desktop icon where those scripts are called with sudo in front. |
|||
| Google The UNIX and Linux Forums |