Lines Matching refs:logname
62 static char *logname; /* login name to delete */
112 logname = argv[optind];
115 pstruct = getpwnam(logname);
126 if (strcmp(pstruct->pw_name, logname) == 0)
133 errmsg(M_EXIST, logname);
137 if (isbusy(logname)) {
138 errmsg(M_BUSY, logname, "remove");
149 nargv[argindex++] = logname;
165 errmsg(M_NO_PERM, logname, pstruct->pw_dir);
170 if (rm_files(pstruct->pw_dir, logname, zfs_flags) != EX_SUCCESS)
179 ret = edit_group(logname, (char *)0, (int **)0, 1);
212 errmsg(M_USED, logname);
229 rc = edit_project(logname, (char *)0, (projid_t **)0, 1);