Fix typos
It is a user, not an user. Signed-off-by: Samanta Navarro <ferivoz@riseup.net>
This commit is contained in:
parent
5956cea1d1
commit
d5d1932370
@ -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)
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
|
@ -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);
|
||||
|
@ -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".
|
||||
*
|
||||
|
@ -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>
|
||||
*
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user