diff --git a/libmisc/cleanup_user.c b/libmisc/cleanup_user.c index 686b380b..da9260e5 100644 --- a/libmisc/cleanup_user.c +++ b/libmisc/cleanup_user.c @@ -16,9 +16,9 @@ #include "shadowlog.h" /* - * cleanup_report_add_user - Report failure to add an user to the system + * cleanup_report_add_user - Report failure to add a user to the system * - * It should be registered when it is decided to add an user to the system. + * It should be registered when it is decided to add a user to the system. */ void cleanup_report_add_user (void *user_name) { @@ -51,10 +51,10 @@ void cleanup_report_mod_passwd (void *cleanup_info) } /* - * cleanup_report_add_user_passwd - Report failure to add an user to + * cleanup_report_add_user_passwd - Report failure to add a user to * /etc/passwd * - * It should be registered when it is decided to add an user to the + * It should be registered when it is decided to add a user to the * /etc/passwd database. */ void cleanup_report_add_user_passwd (void *user_name) @@ -71,10 +71,10 @@ void cleanup_report_add_user_passwd (void *user_name) } /* - * cleanup_report_add_user_shadow - Report failure to add an user to + * cleanup_report_add_user_shadow - Report failure to add a user to * /etc/shadow * - * It should be registered when it is decided to add an user to the + * It should be registered when it is decided to add a user to the * /etc/shadow database. */ void cleanup_report_add_user_shadow (void *user_name) diff --git a/libmisc/user_busy.c b/libmisc/user_busy.c index 1a4ea341..53d9c589 100644 --- a/libmisc/user_busy.c +++ b/libmisc/user_busy.c @@ -32,7 +32,7 @@ static int user_busy_utmp (const char *name); #endif /* !__linux__ */ /* - * user_busy - check if an user if currently running processes + * user_busy - check if a user is currently running processes */ int user_busy (const char *name, uid_t uid) { diff --git a/src/groupmems.c b/src/groupmems.c index a962c055..50c5fc86 100644 --- a/src/groupmems.c +++ b/src/groupmems.c @@ -89,7 +89,7 @@ static char *whoami (void) } /* - * add_user - Add an user to the specified group + * add_user - Add a user to the specified group */ static void add_user (const char *user, const struct group *grp) @@ -172,7 +172,7 @@ static void add_user (const char *user, } /* - * remove_user - Remove an user from a given group + * remove_user - Remove a user from a given group */ static void remove_user (const char *user, const struct group *grp) diff --git a/src/lastlog.c b/src/lastlog.c index 727650ca..6b961974 100644 --- a/src/lastlog.c +++ b/src/lastlog.c @@ -50,7 +50,7 @@ static time_t inverse_seconds; /* that number of days in seconds */ static struct stat statbuf; /* fstat buffer for file size */ -static bool uflg = false; /* print only an user of range of users */ +static bool uflg = false; /* print only a user of range of users */ static bool tflg = false; /* print is restricted to most recent days */ static bool bflg = false; /* print excludes most recent days */ static bool Cflg = false; /* clear record for user */ @@ -69,7 +69,7 @@ usage (int status) "Options:\n"), Prog); (void) fputs (_(" -b, --before DAYS print only lastlog records older than DAYS\n"), usageout); - (void) fputs (_(" -C, --clear clear lastlog record of an user (usable only with -u)\n"), usageout); + (void) fputs (_(" -C, --clear clear lastlog record of a user (usable only with -u)\n"), usageout); (void) fputs (_(" -h, --help display this help message and exit\n"), usageout); (void) fputs (_(" -R, --root CHROOT_DIR directory to chroot into\n"), usageout); (void) fputs (_(" -S, --set set lastlog record to current time (usable only with -u)\n"), usageout); diff --git a/src/login.c b/src/login.c index f8edd5a2..5f31a417 100644 --- a/src/login.c +++ b/src/login.c @@ -430,7 +430,7 @@ static void get_pam_user (char **ptr_pam_user) /* * get_failent_user - Return a string that can be used to log failure - * from an user. + * from a user. * * This will be either the user argument, or "UNKNOWN". * diff --git a/src/login_nopam.c b/src/login_nopam.c index 82ccdc43..4b0f6882 100644 --- a/src/login_nopam.c +++ b/src/login_nopam.c @@ -243,7 +243,7 @@ static bool user_match (const char *tok, const char *string) } #ifdef PRIMARY_GROUP_MATCH /* - * If the string is an user whose initial GID matches the token, + * If the string is a user whose initial GID matches the token, * accept it. May avoid excessively long lines in /etc/group. * Radu-Adrian Feurdean * diff --git a/src/newusers.c b/src/newusers.c index 45b6954a..670168e6 100644 --- a/src/newusers.c +++ b/src/newusers.c @@ -1126,7 +1126,7 @@ int main (int argc, char **argv) } /* - * First check if we have to create or update an user + * First check if we have to create or update a user */ pw = pw_locate (fields[0]); /* local, no need for xgetpwnam */