![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| determine if the script has been invoked manually or not? | hitmansilentass | Shell Programming and Scripting | 8 | 06-22-2008 11:32 AM |
| How to check path exist or not in UNIX shell script | suneelc | UNIX for Dummies Questions & Answers | 3 | 01-22-2008 08:36 AM |
| Check EOF in shell script | ideazhcy | Shell Programming and Scripting | 8 | 07-20-2007 03:29 PM |
| check my first shell script | gridview | Shell Programming and Scripting | 2 | 05-14-2007 03:34 PM |
| Can run script Manually, but not through Cron? | MadHatter | Shell Programming and Scripting | 4 | 10-19-2005 10:08 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
check in unix shell script so that no one is able to run the script manually
I want to create an automated script which is called by another maually executed script.
The condition is that the no one should be able to manually execute the automated script. The automated script can be on the same machine or it can be on a remote machine. Can any one suggest a check in the automated script so that all the above conditions are met ? Thanks in advance, Adi Last edited by adi_bang76; 11-16-2006 at 10:28 AM.. |
|
||||
|
Have the first script create a known filespec file - ie., a specific file only the user running the process can open and delete.
The automated script checks for the existence of the known file when the known file is not found - stop. when the file is found, delete the file, then run the script. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|