GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
IPC::ShellCmd::Sudo(3) User Contributed Perl Documentation IPC::ShellCmd::Sudo(3)

  IPC::ShellCmd::Sudo - Chain sudo-ing to a different user before running the command

    $cmd_obj->chain_prog(
        IPC::ShellCmd::Sudo->new(
                User => 'cpanbuild',
            SetHome => 1,
        )
    );

The only external method for this is the constructor. This sets up the various arguments that are going to be used to generate the command-line.

Other methods on this are used by IPC::ShellCmd, but it should only ever be used inside of the chain_prog method on a IPC::ShellCmd object.

"User"
Specifies the user name to "sudo" to.
"SetHome"
If true, this will cause sudo to set up $ENV{HOME} for the new user, otherwise it will be that of the current user.

I don't know of any, but that doesn't mean they're not there.

See IPC::ShellCmd for authors.

See IPC::ShellCmd for the license.
2013-10-28 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.