Displaying 1 result from an estimated 1 matches for "_path_ssh_user_icc_permitted_key".
2003 Mar 28
0
PRIVSEP annoys me.
...XPATHLEN];
> u_char n_e[131];
> FILE *f;
> struct stat st;
> Key *key;
>
> /* Temporarily use the user's uid. */
> temporarily_use_uid(pw);
>
> /* The authorized key file. */
> snprintf( file, sizeof file, "%.500s/%.100s", pw->pw_dir,
> _PATH_SSH_USER_ICC_PERMITTED_KEY );
>
> debug("trying public RSA key file %s", file);
>
> /* Fail quietly if file does not exist */
> /* If UsePriviledgeSeperation is yes, stat() always fails. */
> if (stat(file, &st) < 0) {
> /* Restore the privileged uid. */
> debug(&qu...