Lines Matching defs:user
35 * non-privileged user programs. Normal programs cannot
228 char *user, *id, *line, *pid, *type, *term, *time_usec,
235 user = argv[1];
249 (void) strncpy(entryx->ut_user, user, sizeof (entryx->ut_user));
266 * record so that we know it was written by a normal user.
300 syslog(LOG_ERR, "Wrong number of arguments or invalid user \n");
315 char *user;
319 user = malloc(sizeof (entryx->ut_user) +1);
320 (void) strncpy(user, entryx->ut_user, sizeof (entryx->ut_user));
321 user[sizeof (entryx->ut_user)] = '\0';
322 pwd = getpwnam(user);
323 (void) free(user);
340 dprintf3("Bad uid: user %s = %d uid = %d \n",
346 dprintf("Bad user name: %s \n", entryx->ut_user);
463 * its name not to contain "../" and opening it as the user for