From: Sami Kerola Date: Sun, 13 Nov 2011 16:47:00 +0000 (+0100) Subject: chsh: build bug: do not override config.h definition X-Git-Tag: v2.21-rc1~149^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7299ca031dd1316d0f3e47402bf632e81ea24112;p=thirdparty%2Futil-linux.git chsh: build bug: do not override config.h definition The ONLY_LISTED_SHELLS is defined by --disable-chsh-only-listed configuration option. Signed-off-by: Sami Kerola --- diff --git a/login-utils/chsh.c b/login-utils/chsh.c index 043022ee6e..bca161fb3e 100644 --- a/login-utils/chsh.c +++ b/login-utils/chsh.c @@ -62,9 +62,6 @@ #include "selinux_utils.h" #endif -/* Only root is allowed to assign a luser a non-listed shell, by default */ -#define ONLY_LISTED_SHELLS 1 - struct sinfo { char *username; char *shell;