Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Generate and compile C-wrapper to start programs as daemon and unprivileged user in a chroot environment (linux/unix)

by Tomte (Priest)
on Feb 01, 2007 at 16:07 UTC ( [id://597765]=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl ./generate_runas_exe.pl -e /usr/bin/sleep -u 1001 -g 1001 -d -o m
    +ytest -- 20
    
  2. or download this
    /usr/bin/chroot /chroot/jail /bin/mywrapper
    
  3. or download this
    #!/usr/bin/perl
    #
    ...
    =cut
    
    # vim: sw=4 ts=4 et
    
  4. or download this

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: CUFP [id://597765]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-19 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found