@@ -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.
|
||||
*/
|
||||
|
@@ -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);
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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);
|
||||
|
@@ -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)
|
||||
|
@@ -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]);
|
||||
|
@@ -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));
|
||||
}
|
||||
}
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user