The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 03-11-2002
uchachra uchachra is offline
Registered User
 

Join Date: Mar 2002
Posts: 6
using su in scripts

i want to start some processes as user xxxx during system reboot...

when the system comes up, it is signed on as root...how do i change the login in a script

I tried doing this:

su - xxxx << EOF
<password>


EOF

and, this does not work...suggestions?
Forum Sponsor