![]() |
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 |
| As root , running script as different user with su - problem | dbsupp | Shell Programming and Scripting | 4 | 12-18-2008 01:28 AM |
| run a script on logout by a non-root user | harsha10 | Shell Programming and Scripting | 6 | 06-16-2008 03:14 PM |
| Shell script to find when user su'ed to root | jrvilino | Shell Programming and Scripting | 1 | 03-05-2008 10:31 AM |
| crontab and shell script that executes a sql. | radhika | Shell Programming and Scripting | 6 | 06-06-2005 11:33 PM |
| root executes a script as another user | tads98 | Shell Programming and Scripting | 1 | 05-17-2005 08:54 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
root executes a script as another user
Hi All,
Am using the below command to start my application using the root user su - bin -c "/home/bin/test/start.sh" but am getting the error becaue i have set some environment varibales in bin's .profile when i execute the command start.sh by logging directly into bin account it's working fine But where as if i ran the above command using the root user am getting error seems it's not loading the bin's .profile file Please advise me how to load the bin's profile while using the su |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|