![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to diagnosis the problem on Solaris 10 for DB startup | duke0001 | UNIX for Advanced & Expert Users | 2 | 09-10-2007 06:42 PM |
| Problem with Pax command and backups on AIX HP-UX and IRIX | TRUEST | UNIX for Dummies Questions & Answers | 1 | 01-27-2003 09:19 AM |
| databse startup problem | vandana | UNIX for Dummies Questions & Answers | 3 | 07-29-2002 09:40 AM |
| problem with the startup | Mr.Rudiment | UNIX for Dummies Questions & Answers | 4 | 11-14-2001 01:51 PM |
| Problem with IRIX | Jai | UNIX for Dummies Questions & Answers | 2 | 07-26-2001 04:07 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Irix - startup script problem
Hi there. Sorry if this is in the wrong forum but I guess a moderator can shift it if needed.
I've set up a shell script to be run as a user that fires at startup on Solaris and RedHat by adding su - <user> -c <Path_to_Script>/<script>.sh And it works great. Problem is I can't get this to run on Irix. From the investigations I've done it seems that the -c option is being run without the <user>'s environment variables being loaded, even though I'm specifying su - <user> If I manually type it and split it into su - <user> ./<Path_to_Script>/<script>.sh The script works. So, anyone have any idea why this happens and what a workaround might be? Thanks, - Rich. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|