]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Fix typos
authorSamanta Navarro <ferivoz@riseup.net>
Thu, 16 Feb 2023 11:52:23 +0000 (11:52 +0000)
committerSerge Hallyn <serge@hallyn.com>
Thu, 16 Feb 2023 19:23:08 +0000 (13:23 -0600)
It is a user, not an user.

Signed-off-by: Samanta Navarro <ferivoz@riseup.net>
libmisc/cleanup_user.c
libmisc/user_busy.c
src/groupmems.c
src/lastlog.c
src/login.c
src/login_nopam.c
src/newusers.c

index 686b380b49e12b992bada58fbfa0fb204fdc6bdc..da9260e59face825f222331b389e292fbda55475 100644 (file)
@@ -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)
index 1a4ea3411af054fb7f5367045ec892d38f4d563e..53d9c589c9a7c8a43a1c269d4f64071d7b35ba28 100644 (file)
@@ -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)
 {
index a962c055f4af665864aae8f96357020f472d6626..50c5fc868b01633bc8b034f4d99b19eeb62502a8 100644 (file)
@@ -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)
index 727650cae71bb27e13454d4fc342ca91479a3b9e..6b96197409a0dc9c8aef45c1d59dde4a39fdf074 100644 (file)
@@ -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);
index f8edd5a2eea7e273a38f56272356b86c9581b7a5..5f31a41743bc0d3a479b82655dc13d9f952c0c81 100644 (file)
@@ -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".
  *
index 82ccdc435f4e09508748572ef84ba524b8061e4b..4b0f6882a25b72d11b908098b3397a640dc15c93 100644 (file)
@@ -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 <raf@licj.soroscj.ro>
                 *
index 45b6954a3e335017138ddb4ae4c0c00b7308802a..670168e631328852a600e7494db9eb8bb61a7353 100644 (file)
@@ -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 */