Lines Matching defs:pstruct
71 struct passwd *pstruct;
114 pstruct = getpwnam(logname);
124 while ((pstruct = fgetpwent(pwf)) != NULL)
125 if (strcmp(pstruct->pw_name, logname) == 0)
131 if (pstruct == NULL) {
156 if( stat( pstruct->pw_dir, &statbuf ) ) {
162 if( check_perm( statbuf, pstruct->pw_uid, pstruct->pw_gid,
164 errmsg( M_NO_PERM, logname, pstruct->pw_dir );
168 if( rm_files(pstruct->pw_dir, logname) != EX_SUCCESS )
202 errmsg( M_UID_USED, pstruct->pw_uid );