diff options
Diffstat (limited to 'security/shadow/CONFIGURE')
-rwxr-xr-x | security/shadow/CONFIGURE | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/security/shadow/CONFIGURE b/security/shadow/CONFIGURE index ed1bef64a0..92d4ed2c8b 100755 --- a/security/shadow/CONFIGURE +++ b/security/shadow/CONFIGURE @@ -30,14 +30,12 @@ interactively" && fi # the tools give negative return even after successfully fixing stuff true && -# Unsure about TRACK_ROOT here +# We are asking the user for the home directory base she likes. +# No TRACK_ROOT or anything, this is separate from the question where spell files reside or are executed from! +# Just a plain path as user chooses. local default_home=/home/users && local old_home=$(grep '^HOME=' $INSTALL_ROOT/etc/default/useradd 2>/dev/null | sed 's/HOME=//') && if [[ -n "$old_home" ]]; then default_home=$old_home fi && -config_query_string SHADOW_HOME "base directory for user homes:" "$default_home" && -if ! [[ -e "$INSTALL_ROOT/$SHADOW_HOME" ]]; then - message "$SHADOW_HOME does not seem to exist, it's up to you to take care of -that..." -fi +config_query_string SHADOW_HOME "base directory for user homes:" "$default_home" |