bsdci / libioc

A Python library to manage jails with ioc{age,ell}
https://bsd.ci/libioc
Other
38 stars 11 forks source link

jail and host user #662

Open gronke opened 5 years ago

gronke commented 5 years ago

Two JailConfig properties jail_user and host_user should define which user accounts are used to execute commands in the jail or the host system.

gronke commented 5 years ago

From the iocage man page:

Name Default Description
exec_system_jail_user 0 This boolean option looks for the exec_jail_user file in the system rather than the jail's file.
exec_system_user root Run commands as this user in the system environment. The default is to run commands as the current user.