![]() |
|
|
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 |
| How to call the ksh script when rebooting the server | Selva_Kumar | Shell Programming and Scripting | 7 | 08-23-2008 02:40 PM |
| Server rebooting frequently | srikanthus2002 | UNIX for Dummies Questions & Answers | 5 | 07-03-2007 06:52 AM |
| Dowloading a File from FTP Server to a local Server where User Id's are different | ranjith_taurean | Shell Programming and Scripting | 1 | 02-22-2007 07:47 AM |
| Solaris 9 server hangs, when rebooting | smohd | UNIX for Advanced & Expert Users | 3 | 09-03-2002 03:24 PM |
| Server name + IP address removed from host table after rebooting | FIRE | UNIX for Advanced & Expert Users | 3 | 07-25-2002 04:42 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Not able to 'su' to other user when rebooting the server
Hi All,
I have created one script with starting letter 'S' (Example: Start) and stored in the path "/etc/rc.d/". This script was called automatically when we reboot the server. In this script i am using 'su' command to switch other user but it is not working, it giving some error. su sas -c "pwd ; whoami" Note: After done the reboot, same command is working fine but it is not working when we rebooting the server. Please help me to resolve this issue. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|