Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

switching to another user

Status
Not open for further replies.

sureshp

Programmer
Aug 28, 2000
79
Hi,

When executing a shell script, it must login to the different user without asking the password from the user. The script can take the passsword from a file(ofcourse security is not a problem).

Thanks,


Suresh.
 
Why don't you try to use the [tt]sudo[/tt] package? it's a better solution, I guess...

I hope it works...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top