The UNIX and Linux Forums  
Hello and Welcome from to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 12-22-2006
splax splax is offline
Registered User
  
 

Join Date: Dec 2006
Posts: 5
I am trying the basic thing first. Try to sudo with password and it is not working.
I have the passowrd stored in file "passwordfile" and my script:

Code:
#!/bin/sh
cat passwordfile | sudo -S su - myapp
But it is not working. any ideas.?

Last edited by splax; 12-22-2006 at 02:28 PM..