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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cmcclain0831

    Executing external command as another user

    Mike: Thanks for your response. Yes, I did try setting $> & $< to constants rather than using getpwnam(). What seems to be happening is that $> & $< affects the script's privileges, making them those of the user I retrieved via getpwname(), but does not affect the script's environment...
  2. cmcclain0831

    Executing external command as another user

    I'm fairly new to Perl, which I'm using to do sysadmin and dba stuff, and I'm consistently running into a need to execute an external command as a user different from the user executing my Perl script, with all of that user's environment variables, privileges, etc. Seems as if that should be...
  3. cmcclain0831

    Execute external command as another user

    I'm fairly new to Perl, which I'm using to do sysadmin and dba stuff, and I'm consistently running into a need to execute an external command as a user different from the user executing my Perl script, with all of that user's environment variables, privileges, etc. Seems as if that should be...

Part and Inventory Search

Back
Top