Allow specifying runing user and chroot() enviroment

Allow the admin to switch the user the kdc is running under and
specify the chroot() directory to run in.

Please note you need a very special setup to get this working.
This commit is contained in:
Love Hornquist Astrand
2009-07-16 22:15:26 -07:00
parent 2076c1c93e
commit 3634423f36
3 changed files with 51 additions and 0 deletions

View File

@@ -67,6 +67,9 @@ extern const struct units _kdc_digestunits[];
extern struct timeval _kdc_now;
#define kdc_time (_kdc_now.tv_sec)
extern char *runas_string;
extern char *chroot_string;
void
loop(krb5_context context, krb5_kdc_configuration *config);