]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
chsh: build bug: do not override config.h definition
authorSami Kerola <kerolasa@iki.fi>
Sun, 13 Nov 2011 16:47:00 +0000 (17:47 +0100)
committerSami Kerola <kerolasa@iki.fi>
Wed, 23 Nov 2011 20:52:50 +0000 (21:52 +0100)
The ONLY_LISTED_SHELLS is defined by --disable-chsh-only-listed
configuration option.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
login-utils/chsh.c

index 043022ee6e73202b2e6198f14009be6d33513e52..bca161fb3e687857c07f17d1c822e83ebc8f3ed4 100644 (file)
@@ -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;