Merge pull request #98 from jsoref/spelling

Spelling
This commit is contained in:
Serge Hallyn
2018-03-24 15:54:51 -05:00
committed by GitHub
584 changed files with 4830 additions and 4830 deletions

View File

@@ -362,7 +362,7 @@ static void list_fields (void)
/*
* Start with the easy numbers - the number of days before the
* password can be changed, the number of days after which the
* password must be chaged, the number of days before the password
* password must be changed, the number of days before the password
* expires that the user is told, and the number of days after the
* password expires that the account becomes unusable.
*/

View File

@@ -464,7 +464,7 @@ int main (int argc, char **argv)
#ifdef USE_PAM
if (use_pam){
if (do_pam_passwd_non_interractive ("chpasswd", name, newpwd) != 0) {
if (do_pam_passwd_non_interactive ("chpasswd", name, newpwd) != 0) {
fprintf (stderr,
_("%s: (line %d, user %s) password not changed\n"),
Prog, line, name);

View File

@@ -278,7 +278,7 @@ static void remove_user (const char *user,
}
/*
* purge_members - Rmeove every members of the specified group
* purge_members - Remove every members of the specified group
*/
static void purge_members (const struct group *grp)
{

View File

@@ -1163,7 +1163,7 @@ int main (int argc, char **argv)
* entries.
* Use the x variants because we need to keep the
* entry for a long time, and there might be other
* getxxyy in between.
* getxxyyy in between.
*/
pw_free (pwd);
pwd = xgetpwnam (username);

View File

@@ -256,7 +256,7 @@ failure:
/*
* syslog_sg - log the change of group to syslog
*
* The loggout will also be logged when the user will quit the
* The logout will also be logged when the user will quit the
* sg/newgrp session.
*/
static void syslog_sg (const char *name, const char *group)

View File

@@ -1238,7 +1238,7 @@ int main (int argc, char **argv)
unsigned int i;
/* Now update the passwords using PAM */
for (i = 0; i < nusers; i++) {
if (do_pam_passwd_non_interractive ("newusers", usernames[i], passwords[i]) != 0) {
if (do_pam_passwd_non_interactive ("newusers", usernames[i], passwords[i]) != 0) {
fprintf (stderr,
_("%s: (line %d, user %s) password not changed\n"),
Prog, lines[i], usernames[i]);

View File

@@ -152,7 +152,7 @@ int check_su_auth (const char *actual_id,
return OWNPWORD;
} else {
SYSLOG ((LOG_ERR,
"%s, line %d: unrecognised action!\n",
"%s, line %d: unrecognized action!\n",
SUAUTHFILE, lines));
}
}

View File

@@ -2285,7 +2285,7 @@ int main (int argc, char **argv)
/*
* tallylog_reset needs to be able to lookup
* a valid existing user name,
* so we canot call it before close_files()
* so we cannot call it before close_files()
*/
if (!lflg && getpwuid (user_id) != NULL) {
tallylog_reset (user_name);