![]() |
|
|
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 |
| terminal script stops after script command :(. | drdread | OS X (Apple) | 6 | 02-04-2009 01:37 PM |
| The Admin Zen: Keep it up and running. | iBot | Solaris BigAdmin RSS | 0 | 10-21-2008 04:00 PM |
| Want to make a script that checks connection protocol | DeCoTwc | Shell Programming and Scripting | 3 | 07-12-2008 12:45 AM |
| need shell script that checks your user id and your permission level | yammer | UNIX for Dummies Questions & Answers | 3 | 11-19-2007 07:17 PM |
| Script that checks for previous instances running | bd_joy | Shell Programming and Scripting | 5 | 06-13-2007 03:23 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Script stops running the remaining checks after becoming admin
Hi all,
I encountered a problem where my script stops running the remaining checks after becoming an admin that is written within the script. For example: ========================================= #!/bin/sh check 1 # Runs successfully check 2 # Runs successfully /com/bin/admin # Becomes admin, this is how we switch to admin user check 3 # Does not run check 4 # Does not run ========================================= Sample output: Check 1 output Check 2 output [admin@hostname] $ # From here it will not continue the rest of the scripts until I type "exit" Please advise. |
| Bookmarks |
| Tags |
| admin issue, script stop |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|