summaryrefslogtreecommitdiffstats
path: root/login-utils/chsh.c
diff options
context:
space:
mode:
authorKarel Zak2010-07-29 14:54:19 +0200
committerKarel Zak2010-07-29 16:08:20 +0200
commitae7054723b39eb0c5388fb8acfe26c5fd5a98f02 (patch)
tree5f09d84615cde71332ad3ca43debc5888b64e8b7 /login-utils/chsh.c
parentmount: fix "mount -a" for auto-clear loopdevs and /proc/mounts (diff)
downloadkernel-qcow2-util-linux-ae7054723b39eb0c5388fb8acfe26c5fd5a98f02.tar.gz
kernel-qcow2-util-linux-ae7054723b39eb0c5388fb8acfe26c5fd5a98f02.tar.xz
kernel-qcow2-util-linux-ae7054723b39eb0c5388fb8acfe26c5fd5a98f02.zip
chsh: don't suggest ypchsh
$ chsh chsh: can only change local entries; use ypchsh instead. The 'ypchsh' is an external util that does not have to be installed. Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=497329 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/chsh.c')
-rw-r--r--login-utils/chsh.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/login-utils/chsh.c b/login-utils/chsh.c
index 08b1e0d28..a893ef999 100644
--- a/login-utils/chsh.c
+++ b/login-utils/chsh.c
@@ -128,8 +128,7 @@ main (int argc, char *argv[]) {
}
if (!(is_local(pw->pw_name))) {
- fprintf (stderr, _("%s: can only change local entries; use yp%s instead.\n"),
- whoami, whoami);
+ fprintf (stderr, _("%s: can only change local entries.\n"), whoami);
exit(1);
}