equal
deleted
inserted
replaced
173 /* Needed for pam_unix_cred to chown files. */ |
173 /* Needed for pam_unix_cred to chown files. */ |
174 priv_set(PRIV_ON, PRIV_EFFECTIVE, PRIV_FILE_CHOWN_SELF, NULL); |
174 priv_set(PRIV_ON, PRIV_EFFECTIVE, PRIV_FILE_CHOWN_SELF, NULL); |
175 |
175 |
176 /* Needed to access /var/adm/wtmpx. */ |
176 /* Needed to access /var/adm/wtmpx. */ |
177 priv_set(PRIV_ON, PRIV_EFFECTIVE, PRIV_FILE_DAC_WRITE, NULL); |
177 priv_set(PRIV_ON, PRIV_EFFECTIVE, PRIV_FILE_DAC_WRITE, NULL); |
|
178 |
|
179 /* Enable chroot for anonymous login. */ |
|
180 priv_set(PRIV_ON, PRIV_EFFECTIVE, PRIV_PROC_CHROOT, NULL); |
178 } |
181 } |
179 |
182 |
180 /* Setup priviledges before the user responds to the user prompt |
183 /* Setup priviledges before the user responds to the user prompt |
181 * from the ftp server so that a secure Kerberos session can be |
184 * from the ftp server so that a secure Kerberos session can be |
182 * established and also the user can login as root |
185 * established and also the user can login as root |