diff options
author | Sami Kerola | 2011-11-13 17:47:00 +0100 |
---|---|---|
committer | Sami Kerola | 2011-11-23 21:52:50 +0100 |
commit | 7299ca031dd1316d0f3e47402bf632e81ea24112 (patch) | |
tree | ca13286ecd2e9fb8dc49db1fcfe5a4357778b6ee /login-utils/chsh.c | |
parent | chfn, chsh, setpwnam: get true/false from stdbool.h (diff) | |
download | kernel-qcow2-util-linux-7299ca031dd1316d0f3e47402bf632e81ea24112.tar.gz kernel-qcow2-util-linux-7299ca031dd1316d0f3e47402bf632e81ea24112.tar.xz kernel-qcow2-util-linux-7299ca031dd1316d0f3e47402bf632e81ea24112.zip |
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 <kerolasa@iki.fi>
Diffstat (limited to 'login-utils/chsh.c')
-rw-r--r-- | login-utils/chsh.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/login-utils/chsh.c b/login-utils/chsh.c index 043022ee6..bca161fb3 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; |