in reply to Re: run shell command as another user
in thread run shell command as another user

Hello graff thanks for the response,

yes you are right! "Would it be a lot easier." I'm learning about DBI and DBD::DB2 modules. I'll use in some point. My problem now is that I have root access, but i don't have the password for each instance that is the reason because i can't use DBD::DB2 in this point.

I need to use "su -" or "sudo su -" to get the instance environment and work with the data bases then maybe i can use DBD::DB2.

  • Comment on Re^2: run shell command as another user