+2008-08-01 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/chfn.c, src/chsh.c, src/groupdel.c, src/groupmems.c,
+ src/groupmod.c, src/grpck.c, src/login.c, src/logoutd.c,
+ src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c,
+ src/suauth.c, src/useradd.c, src/userdel.c, src/usermod.c,
+ src/vipw.c: Complete the switch from the `' quotation style to ''.
+ Do it also in SYSLOG messages. Quote some parameters. All this
+ permits to merge some messages.
+
2008-07-30 Lukáš Kuklínek <lkukline@redhat.com>
* src/groupmems.c: Only check if the adduser user exists when an
/* Rewrite the user's gecos in the passwd file */
update_gecos (user, new_gecos);
- SYSLOG ((LOG_INFO, "changed user `%s' information", user));
+ SYSLOG ((LOG_INFO, "changed user '%s' information", user));
nscd_flush_cache ("passwd");
* UID of the user matches the current real UID.
*/
if (!amroot && pw->pw_uid != getuid ()) {
- SYSLOG ((LOG_WARN, "can't change shell for `%s'", pw->pw_name));
+ SYSLOG ((LOG_WARN, "can't change shell for '%s'", pw->pw_name));
closelog ();
fprintf (stderr,
- _("You may not change the shell for %s.\n"),
+ _("You may not change the shell for '%s'.\n"),
pw->pw_name);
exit (1);
}
* is not a restricted one.
*/
if (!amroot && is_restricted_shell (pw->pw_shell)) {
- SYSLOG ((LOG_WARN, "can't change shell for `%s'", pw->pw_name));
+ SYSLOG ((LOG_WARN, "can't change shell for '%s'", pw->pw_name));
closelog ();
fprintf (stderr,
- _("You may not change the shell for %s.\n"),
+ _("You may not change the shell for '%s'.\n"),
pw->pw_name);
exit (1);
}
if ((pw->pw_uid != getuid ())
&& (is_selinux_enabled () > 0)
&& (selinux_check_passwd_access (PASSWD__CHSH) != 0)) {
- SYSLOG ((LOG_WARN, "can't change shell for `%s'", pw->pw_name));
+ SYSLOG ((LOG_WARN, "can't change shell for '%s'", pw->pw_name));
closelog ();
fprintf (stderr,
- _("You may not change the shell for %s.\n"),
+ _("You may not change the shell for '%s'.\n"),
pw->pw_name);
exit (1);
}
update_shell (user, loginsh);
- SYSLOG ((LOG_INFO, "changed user `%s' shell to `%s'", user, loginsh));
+ SYSLOG ((LOG_INFO, "changed user '%s' shell to '%s'", user, loginsh));
nscd_flush_cache ("passwd");
"deleting group",
group_name, (unsigned int) group_id, 1);
#endif
- SYSLOG ((LOG_INFO, "remove group `%s'\n", group_name));
+ SYSLOG ((LOG_INFO, "remove group '%s'\n", group_name));
if (gr_close () == 0) {
fprintf (stderr, _("%s: cannot rewrite group file\n"), Prog);
*/
grp = getgrnam (group_name); /* local, no need for xgetgrnam */
if (NULL == grp) {
- fprintf (stderr, _("%s: group %s does not exist\n"),
+ fprintf (stderr, _("%s: group '%s' does not exist\n"),
Prog, group_name);
#ifdef WITH_AUDIT
audit_logger (AUDIT_USER_CHAUTHTOK, Prog,
/* local, no need for xgetpwnam */
if ( (NULL != adduser)
&& (getpwnam (adduser) == NULL)) {
- fprintf (stderr, _("%s: user `%s' does not exist\n"),
+ fprintf (stderr, _("%s: user '%s' does not exist\n"),
Prog, adduser);
fail_exit (EXIT_INVALID_USER);
}
grp = (struct group *) gr_locate (name);
if (NULL == grp) {
- fprintf (stderr, _("%s: `%s' not found in /etc/group\n"),
+ fprintf (stderr, _("%s: '%s' not found in /etc/group\n"),
Prog, name);
fail_exit (EXIT_INVALID_GROUP);
}
} else if (NULL != adduser) {
if (is_on_list (grp->gr_mem, adduser)) {
fprintf (stderr,
- _("%s: user `%s' is already a member of `%s'\n"),
+ _("%s: user '%s' is already a member of '%s'\n"),
Prog, adduser, grp->gr_name);
fail_exit (EXIT_MEMBER_EXISTS);
}
} else if (NULL != deluser) {
if (!is_on_list (grp->gr_mem, adduser)) {
fprintf (stderr,
- _("%s: user `%s' is not a member of `%s'\n"),
+ _("%s: user '%s' is not a member of '%s'\n"),
Prog, deluser, grp->gr_name);
fail_exit (EXIT_NOT_MEMBER);
}
group_name, (unsigned int) group_id, 1);
#endif
if (nflg) {
- SYSLOG ((LOG_INFO, "change group `%s' to `%s'",
+ SYSLOG ((LOG_INFO, "change group '%s' to '%s'",
group_name, group_newname));
}
if (gflg) {
- SYSLOG ((LOG_INFO, "change GID for `%s' to %lu",
+ SYSLOG ((LOG_INFO, "change GID for '%s' to %lu",
nflg ? group_newname : group_name,
(unsigned long) group_newid));
}
*/
grp = getgrnam (group_name); /* local, no need for xgetgrnam */
if (NULL == grp) {
- fprintf (stderr, _("%s: group %s does not exist\n"),
+ fprintf (stderr, _("%s: group '%s' does not exist\n"),
Prog, group_name);
#ifdef WITH_AUDIT
audit_logger (AUDIT_USER_CHAUTHTOK, Prog,
* to try out the next list element.
*/
delete_gr:
- SYSLOG ((LOG_INFO, "delete group line `%s'",
+ SYSLOG ((LOG_INFO, "delete group line '%s'",
gre->line));
*changed = true;
if (check_members (grp->gr_name, grp->gr_mem,
_("group %s: no user %s\n"),
_("delete member '%s'? "),
- "delete member `%s' from group `%s'",
+ "delete member '%s' from group '%s'",
errors) == 1) {
*changed = true;
gre->changed = true;
sg.sg_adm = ∅
sg.sg_mem = grp->gr_mem;
SYSLOG ((LOG_INFO,
- "add group `%s' to `%s'",
+ "add group '%s' to '%s'",
grp->gr_name, sgr_file));
*changed = true;
* of the loop to try out the next list element.
*/
delete_sg:
- SYSLOG ((LOG_INFO, "delete shadow line `%s'",
+ SYSLOG ((LOG_INFO, "delete shadow line '%s'",
sge->line));
*changed = true;
if (check_members (sgr->sg_name, sgr->sg_adm,
_("shadow group %s: no administrative user %s\n"),
_("delete administrative member '%s'? "),
- "delete admin `%s' from shadow group `%s'",
+ "delete admin '%s' from shadow group '%s'",
errors) == 1) {
*changed = true;
sge->changed = true;
if (check_members (sgr->sg_name, sgr->sg_mem,
_("shadow group %s: no user %s\n"),
_("delete member '%s'? "),
- "delete member `%s' from shadow group `%s'",
+ "delete member '%s' from shadow group '%s'",
errors) == 1) {
*changed = true;
sge->changed = true;
if (retcode == PAM_MAXTRIES || failcount >= retries) {
SYSLOG ((LOG_NOTICE,
- "TOO MANY LOGIN TRIES (%d)%s FOR `%s'",
+ "TOO MANY LOGIN TRIES (%d)%s FOR '%s'",
failcount, fromhost, failent_user));
fprintf(stderr,
_("Maximum number of tries exceeded (%d)\n"),
PAM_END;
exit(99);
} else if (retcode != PAM_SUCCESS) {
- SYSLOG ((LOG_NOTICE,"FAILED LOGIN (%d)%s FOR `%s', %s",
+ SYSLOG ((LOG_NOTICE,"FAILED LOGIN (%d)%s FOR '%s', %s",
failcount, fromhost, failent_user,
pam_strerror (pamh, retcode)));
failed = true;
pwent.pw_passwd = spwd->sp_pwdp;
} else {
SYSLOG ((LOG_WARN,
- "no shadow password for `%s'%s",
+ "no shadow password for '%s'%s",
username, fromhost));
}
}
* username at least once. Should probably use LOG_AUTHPRIV
* for those who really want to log them. --marekm
*/
- SYSLOG ((LOG_WARN, "invalid password for `%s' %s",
+ SYSLOG ((LOG_WARN, "invalid password for '%s' %s",
( (NULL != pwd)
|| getdef_bool ("LOG_UNKFAIL_ENAB")) ?
username : "UNKNOWN", fromhost));
}
if ( !failed
&& !login_access (username, *hostname ? hostname : tty)) {
- SYSLOG ((LOG_WARN, "LOGIN `%s' REFUSED %s",
+ SYSLOG ((LOG_WARN, "LOGIN '%s' REFUSED %s",
username, fromhost));
failed = true;
}
&& getdef_bool ("FAILLOG_ENAB")
&& !failcheck (pwent.pw_uid, &faillog, failed)) {
SYSLOG ((LOG_CRIT,
- "exceeded failure limit for `%s' %s",
+ "exceeded failure limit for '%s' %s",
username, fromhost));
failed = true;
}
*/
if ( getdef_bool ("PORTTIME_CHECKS_ENAB")
&& !isttytime (pwent.pw_name, tty, time ((time_t *) 0))) {
- SYSLOG ((LOG_WARN, "invalid login time for `%s'%s",
+ SYSLOG ((LOG_WARN, "invalid login time for '%s'%s",
username, fromhost));
closelog ();
bad_time_notify ();
puts (_
("Warning: login re-enabled after temporary lockout."));
SYSLOG ((LOG_WARN,
- "login `%s' re-enabled after temporary lockout (%d failures)",
+ "login '%s' re-enabled after temporary lockout (%d failures)",
username, (int) faillog.fail_cnt));
}
}
SYSLOG ((LOG_NOTICE, "ROOT LOGIN %s", fromhost));
} else if (getdef_bool ("LOG_OK_LOGINS")) {
#ifdef USE_PAM
- SYSLOG ((LOG_INFO, "`%s' logged in %s", pam_user, fromhost));
+ SYSLOG ((LOG_INFO, "'%s' logged in %s", pam_user, fromhost));
#else
- SYSLOG ((LOG_INFO, "`%s' logged in %s", username, fromhost));
+ SYSLOG ((LOG_INFO, "'%s' logged in %s", username, fromhost));
#endif
}
closelog ();
user[sizeof (user) - 1] = '\0';
SYSLOG ((LOG_NOTICE,
- "logged off user `%s' on `%s'", user,
+ "logged off user '%s' on '%s'", user,
tty_name));
/*
(unsigned int) getuid (), 0);
#endif
SYSLOG ((LOG_INFO,
- "Invalid password for group `%s' from `%s'",
+ "Invalid password for group '%s' from '%s'",
groupname, pwd->pw_name));
sleep (1);
fputs (_("Invalid password.\n"), stderr);
tty += 5;
}
SYSLOG ((LOG_INFO,
- "user `%s' (login `%s' on %s) switched to group `%s'",
+ "user '%s' (login '%s' on %s) switched to group '%s'",
name, loginname, tty, group));
#ifdef USE_PAM
/*
/* local, no need for xgetgrgid */
if (NULL != grp) {
SYSLOG ((LOG_INFO,
- "user `%s' (login `%s' on %s) returned to group `%s'",
+ "user '%s' (login '%s' on %s) returned to group '%s'",
name, loginname, tty, grp->gr_name));
} else {
SYSLOG ((LOG_INFO,
- "user `%s' (login `%s' on %s) returned to group `%lu'",
+ "user '%s' (login '%s' on %s) returned to group '%lu'",
name, loginname, tty,
(unsigned long) gid));
/* Either the user's passwd entry has a
* or the group was deleted while the user
* was in a newgrp session.*/
SYSLOG ((LOG_WARN,
- "unknown GID `%lu' used by user `%s'",
+ "unknown GID '%lu' used by user '%s'",
(unsigned long) gid, name));
}
closelog ();
unsigned long int i = strtoul (gid, &endptr, 10);
if ((*endptr != '\0') || (ERANGE == errno)) {
fprintf (stderr,
- _("%s: group ID `%s' is not valid\n"),
+ _("%s: group ID '%s' is not valid\n"),
Prog, gid);
return -1;
}
/* Check if this is a valid group name */
if (!is_valid_group_name (grent.gr_name)) {
fprintf (stderr,
- _("%s: invalid group name `%s'\n"),
+ _("%s: invalid group name '%s'\n"),
Prog, grent.gr_name);
free (grent.gr_name);
return -1;
if (NULL != sg) {
fprintf (stderr,
- _("%s: group %s is a shadow group, but does not exist in /etc/group\n"),
+ _("%s: group '%s' is a shadow group, but does not exist in /etc/group\n"),
Prog, grent.gr_name);
return -1;
}
unsigned long int i = strtoul (uid, &endptr, 10);
if (('\0' != *endptr) || (ERANGE == errno)) {
fprintf (stderr,
- _("%s: user ID `%s' is not valid\n"),
+ _("%s: user ID '%s' is not valid\n"),
Prog, uid);
return -1;
}
*nuid = pwd->pw_uid;
} else {
fprintf (stderr,
- _("%s: user `%s' does not exist\n"),
+ _("%s: user '%s' does not exist\n"),
Prog, uid);
return -1;
}
/* Check if this is a valid user name */
if (!is_valid_user_name (name)) {
fprintf (stderr,
- _("%s: invalid user name `%s'\n"),
+ _("%s: invalid user name '%s'\n"),
Prog, name);
return -1;
}
fprintf (stderr,
_("The password for %s cannot be changed.\n"),
sp->sp_namp);
- SYSLOG ((LOG_WARN, "password locked for `%s'", sp->sp_namp));
+ SYSLOG ((LOG_WARN, "password locked for '%s'", sp->sp_namp));
closelog ();
exit (E_NOPERM);
}
_
("The password for %s cannot be changed yet.\n"),
pw->pw_name);
- SYSLOG ((LOG_WARN, "now < minimum age for `%s'", pw->pw_name));
+ SYSLOG ((LOG_WARN, "now < minimum age for '%s'", pw->pw_name));
closelog ();
exit (E_NOPERM);
}
nscd_flush_cache ("passwd");
nscd_flush_cache ("group");
- SYSLOG ((LOG_INFO, "password for `%s' changed by `%s'", name, myname));
+ SYSLOG ((LOG_INFO, "password for '%s' changed by '%s'", name, myname));
closelog ();
if (!qflg) {
if (!eflg) {
* loop to try out the next list element.
*/
delete_pw:
- SYSLOG ((LOG_INFO, "delete passwd line `%s'",
+ SYSLOG ((LOG_INFO, "delete passwd line '%s'",
pfe->line));
*changed = true;
/*
* Home directory doesn't exist, give a warning
*/
- printf (_("user %s: directory %s does not exist\n"),
+ printf (_("user '%s': directory '%s' does not exist\n"),
pwd->pw_name, pwd->pw_dir);
*errors += 1;
}
/*
* Login shell doesn't exist, give a warning
*/
- printf (_("user %s: program %s does not exist\n"),
+ printf (_("user '%s': program '%s' does not exist\n"),
pwd->pw_name, pwd->pw_shell);
*errors += 1;
}
* to try out the next list element.
*/
delete_spw:
- SYSLOG ((LOG_INFO, "delete shadow line `%s'",
+ SYSLOG ((LOG_INFO, "delete shadow line '%s'",
spe->line));
*changed = true;
continue;
if (!strcmp (action, "DENY")) {
SYSLOG ((pwent.pw_uid ? LOG_NOTICE : LOG_WARN,
- "DENIED su from `%s' to `%s' (%s)\n",
+ "DENIED su from '%s' to '%s' (%s)\n",
actual_id, wanted_id, SUAUTHFILE));
fputs (_("Access to su to that account DENIED.\n"),
stderr);
return DENY;
} else if (!strcmp (action, "NOPASS")) {
SYSLOG ((pwent.pw_uid ? LOG_INFO : LOG_NOTICE,
- "NO password asked for su from `%s' to `%s' (%s)\n",
+ "NO password asked for su from '%s' to '%s' (%s)\n",
actual_id, wanted_id, SUAUTHFILE));
fputs (_("Password authentication bypassed.\n"),stderr);
fclose (authfile_fd);
return NOPWORD;
} else if (!strcmp (action, "OWNPASS")) {
SYSLOG ((pwent.pw_uid ? LOG_INFO : LOG_NOTICE,
- "su from `%s' to `%s': asking for user's own password (%s)\n",
+ "su from '%s' to '%s': asking for user's own password (%s)\n",
actual_id, wanted_id, SUAUTHFILE));
fputs (_("Please enter your OWN password as authentication.\n"),
stderr);
"adding user",
user_name, AUDIT_NO_ID, 0);
#endif
- SYSLOG ((LOG_INFO, "failed adding user `%s', data deleted", user_name));
+ SYSLOG ((LOG_INFO, "failed adding user '%s', data deleted", user_name));
exit (code);
}
"adding user to group",
user_name, AUDIT_NO_ID, 1);
#endif
- SYSLOG ((LOG_INFO, "add `%s' to group `%s'",
+ SYSLOG ((LOG_INFO, "add '%s' to group '%s'",
user_name, ngrp->gr_name));
}
"adding user to shadow group",
user_name, AUDIT_NO_ID, 1);
#endif
- SYSLOG ((LOG_INFO, "add `%s' to shadow group `%s'",
+ SYSLOG ((LOG_INFO, "add '%s' to shadow group '%s'",
user_name, nsgrp->sg_name));
}
#endif /* SHADOWGRP */
"deleting user from group",
user_name, (unsigned int) user_id, 0);
#endif
- SYSLOG ((LOG_INFO, "delete `%s' from group `%s'\n",
+ SYSLOG ((LOG_INFO, "delete '%s' from group '%s'\n",
user_name, ngrp->gr_name));
}
user_name, (unsigned int) user_id, 0);
#endif
SYSLOG ((LOG_INFO,
- "removed group `%s' owned by `%s'\n",
+ "removed group '%s' owned by '%s'\n",
grp->gr_name, user_name));
}
}
"deleting user from shadow group",
user_name, (unsigned int) user_id, 0);
#endif
- SYSLOG ((LOG_INFO, "delete `%s' from shadow group `%s'\n",
+ SYSLOG ((LOG_INFO, "delete '%s' from shadow group '%s'\n",
user_name, nsgrp->sg_name));
}
"deleting user entries",
user_name, (unsigned int) user_id, 1);
#endif
- SYSLOG ((LOG_INFO, "delete user `%s'\n", user_name));
+ SYSLOG ((LOG_INFO, "delete user '%s'\n", user_name));
}
/*
struct passwd *pwd;
pwd = getpwnam (user_name); /* local, no need for xgetpwnam */
if (NULL == pwd) {
- fprintf (stderr, _("%s: user %s does not exist\n"),
+ fprintf (stderr, _("%s: user '%s' does not exist\n"),
Prog, user_name);
#ifdef WITH_AUDIT
audit_logger (AUDIT_USER_CHAUTHTOK, Prog,
"updating passwd",
user_newname, (unsigned int) user_newid, 0);
#endif
- SYSLOG ((LOG_INFO, "lock user `%s' password", user_newname));
+ SYSLOG ((LOG_INFO, "lock user '%s' password", user_newname));
strcpy (buf, "!");
strcat (buf, pw_pass);
pw_pass = buf;
"updating password",
user_newname, (unsigned int) user_newid, 0);
#endif
- SYSLOG ((LOG_INFO, "unlock user `%s' password", user_newname));
+ SYSLOG ((LOG_INFO, "unlock user '%s' password", user_newname));
s = pw_pass;
while ('\0' != *s) {
*s = *(s + 1);
"changing password",
user_newname, (unsigned int) user_newid, 1);
#endif
- SYSLOG ((LOG_INFO, "change user `%s' password", user_newname));
+ SYSLOG ((LOG_INFO, "change user '%s' password", user_newname));
pw_pass = xstrdup (user_pass);
}
return pw_pass;
"changing name",
user_newname, (unsigned int) user_newid, 1);
#endif
- SYSLOG ((LOG_INFO, "change user name `%s' to `%s'",
+ SYSLOG ((LOG_INFO, "change user name '%s' to '%s'",
pwent->pw_name, user_newname));
pwent->pw_name = xstrdup (user_newname);
}
user_newname, (unsigned int) user_newid, 1);
#endif
SYSLOG ((LOG_INFO,
- "change user `%s' UID from `%d' to `%d'",
+ "change user '%s' UID from '%d' to '%d'",
pwent->pw_name, pwent->pw_uid, user_newid));
pwent->pw_uid = user_newid;
}
user_newname, (unsigned int) user_newid, 1);
#endif
SYSLOG ((LOG_INFO,
- "change user `%s' GID from `%d' to `%d'",
+ "change user '%s' GID from '%d' to '%d'",
pwent->pw_name, pwent->pw_gid, user_newgid));
pwent->pw_gid = user_newgid;
}
user_newname, (unsigned int) user_newid, 1);
#endif
SYSLOG ((LOG_INFO,
- "change user `%s' home from `%s' to `%s'",
+ "change user '%s' home from '%s' to '%s'",
pwent->pw_name, pwent->pw_dir, user_newhome));
pwent->pw_dir = user_newhome;
}
"changing user shell",
user_newname, (unsigned int) user_newid, 1);
#endif
- SYSLOG ((LOG_INFO, "change user `%s' shell from `%s' to `%s'",
+ SYSLOG ((LOG_INFO, "change user '%s' shell from '%s' to '%s'",
pwent->pw_name, pwent->pw_shell, user_newshell));
pwent->pw_shell = user_newshell;
}
user_newname, (unsigned int) user_newid, 1);
#endif
SYSLOG ((LOG_INFO,
- "change user `%s' inactive from `%ld' to `%ld'",
+ "change user '%s' inactive from '%ld' to '%ld'",
spent->sp_namp, spent->sp_inact, user_newinactive));
spent->sp_inact = user_newinactive;
}
user_newname, (unsigned int) user_newid, 1);
#endif
SYSLOG ((LOG_INFO,
- "change user `%s' expiration from `%s' to `%s'",
+ "change user '%s' expiration from '%s' to '%s'",
spent->sp_namp, old_exp, new_exp));
spent->sp_expire = user_newexpire;
}
user_newname, AUDIT_NO_ID, 1);
#endif
SYSLOG ((LOG_INFO,
- "change `%s' to `%s' in group `%s'",
+ "change '%s' to '%s' in group '%s'",
user_name, user_newname,
ngrp->gr_name));
}
"removing group member",
user_name, AUDIT_NO_ID, 1);
#endif
- SYSLOG ((LOG_INFO, "delete `%s' from group `%s'",
+ SYSLOG ((LOG_INFO, "delete '%s' from group '%s'",
user_name, ngrp->gr_name));
} else if (!was_member && Gflg && is_member) {
ngrp->gr_mem = add_list (ngrp->gr_mem, user_newname);
"adding user to group",
user_name, AUDIT_NO_ID, 1);
#endif
- SYSLOG ((LOG_INFO, "add `%s' to group `%s'",
+ SYSLOG ((LOG_INFO, "add '%s' to group '%s'",
user_newname, ngrp->gr_name));
}
if (!changed) {
user_name, AUDIT_NO_ID, 1);
#endif
SYSLOG ((LOG_INFO,
- "change admin `%s' to `%s' in shadow group `%s'",
+ "change admin '%s' to '%s' in shadow group '%s'",
user_name, user_newname, nsgrp->sg_name));
}
if (was_member && (!Gflg || is_member)) {
user_name, AUDIT_NO_ID, 1);
#endif
SYSLOG ((LOG_INFO,
- "change `%s' to `%s' in shadow group `%s'",
+ "change '%s' to '%s' in shadow group '%s'",
user_name, user_newname,
nsgrp->sg_name));
}
user_name, AUDIT_NO_ID, 1);
#endif
SYSLOG ((LOG_INFO,
- "delete `%s' from shadow group `%s'",
+ "delete '%s' from shadow group '%s'",
user_name, nsgrp->sg_name));
} else if (!was_member && Gflg && is_member) {
nsgrp->sg_mem = add_list (nsgrp->sg_mem, user_newname);
"adding user to shadow group",
user_newname, AUDIT_NO_ID, 1);
#endif
- SYSLOG ((LOG_INFO, "add `%s' to shadow group `%s'",
+ SYSLOG ((LOG_INFO, "add '%s' to shadow group '%s'",
user_newname, nsgrp->sg_name));
}
if (!changed) {
/* local, no need for xgetpwnam */
pwd = getpwnam (argv[argc - 1]);
if (NULL == pwd) {
- fprintf (stderr, _("%s: user %s does not exist\n"),
+ fprintf (stderr, _("%s: user '%s' does not exist\n"),
Prog, argv[argc - 1]);
exit (E_NOTFOUND);
}
#define MSG_WARN_EDIT_OTHER_FILE _( \
"You have modified %s.\n"\
"You may need to modify %s for consistency.\n"\
- "Please use the command `%s' to do so.\n")
+ "Please use the command '%s' to do so.\n")
/*
* Global variables