diff options
author | Enno Boland <g@s01.de> | 2014-05-07 18:57:25 +0200 |
---|---|---|
committer | Enno Boland <g@s01.de> | 2014-05-07 18:57:25 +0200 |
commit | 92be3725d81801bbfd144c11ead83c3ad0838622 (patch) | |
tree | 05e9519867d740ee0969547cd594c1615c565a2c | |
parent | 30c13a8fb4d4211332dc450edcc7057fa93309a9 (diff) | |
download | hrmpf-92be3725d81801bbfd144c11ead83c3ad0838622.tar.gz hrmpf-92be3725d81801bbfd144c11ead83c3ad0838622.tar.xz hrmpf-92be3725d81801bbfd144c11ead83c3ad0838622.zip |
Don't show plain password in Settings screen
-rw-r--r-- | installer.sh.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/installer.sh.in b/installer.sh.in index a283d2e..9dfcd92 100644 --- a/installer.sh.in +++ b/installer.sh.in @@ -923,7 +923,10 @@ menu() { if [ $? -eq 3 ]; then # Show settings - DIALOG --title "Saved settings for installation" --textbox $CONF_FILE 14 60 + cp $CONF_FILE /tmp/conf_hidden.$$; + sed -i "s/^ROOTPASSWORD.*/ROOTPASSWORD <-hidden->/" /tmp/conf_hidden.$$ + DIALOG --title "Saved settings for installation" --textbox /tmp/conf_hidden.$$ 14 60 + rm /tmp/conf_hidden.$$ return fi |