Lines Matching refs:user
45 * userattr [-v] attr_name [user]
75 char *user = NULL;
91 user = argv[opt++];
96 gettext("Usage: %s [-v] attribute_name [user]\n"), argv[0]);
100 if (user == NULL) {
105 gettext("Cannot find user for uid %d\n"), uid);
108 user = pwd->pw_name;
110 if ((pwd = getpwnam(user)) == NULL) {
112 gettext("No such user %s\n"), user);
117 (void) _enum_attrs(user, attr, NULL, NULL);
122 user);