anhelion / libpam-vz Goto Github PK
View Code? Open in Web Editor NEWThis project forked from rfc1036/libpam-vz
Run programs in a OpenVZ Context.
License: GNU General Public License v2.0
This project forked from rfc1036/libpam-vz
Run programs in a OpenVZ Context.
License: GNU General Public License v2.0
This PAM module switches the execution context of the calling process to a running OpenVZ container, like the "vzctl enter" command. It is tipically used by a daemon like ssh or cron running in the Host Node to transparently run itself and its child processes in a container. It is not supposed to be used with "standard" OpenVZ installations: the system must be designed to share some components between the HN and the affected contexts. To use this module you need to add a line like this to the PAM configuration file of the relevant daemon: session required pam_vz.so Then the daemon will enter the context with the CTID set to the UID or GID of the user. Beware: the module cannot be used with su(1) and interactive sessions, because the stdin/stdout/stderr file descriptors of the process will still be the ones in the HN. It also cannot work with FTP servers because they will try to open the data connections using the context IP address instead of the HN one. Valid options for the module are: * debug Enables verbose logging. * min_id=NUMBER * max_id=NUMBER Define the inclusive range of UIDs/GIDs which will cause entering the associated context. Default: min_id=10000, max_id=65533 * use_as_ctid=[uid|gid] Chooses to use either the UID or the GID as the CTID. Default: use_as_ctid=uid * ctid_delta=number Adds or subtracts a number from the CTID. Default: ctid_delta=0 * closelog Closes the syslog socket after entering the CT. This will break logging unless a syslog daemon is running in the CT.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.