From 2d3ef01e707bc5d484446b241a59efd060ac1d48 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 24 Dec 2020 12:39:50 +0000 Subject: our previous fix was insufficient, make sure this one will do --- redcorelive-openrc.sh | 5 +++-- redcorelive-systemd.sh | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/redcorelive-openrc.sh b/redcorelive-openrc.sh index fd5a1ae..dd62575 100755 --- a/redcorelive-openrc.sh +++ b/redcorelive-openrc.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash -export local liveuser="redcorelive" +export local liveuser="redcore" +export local livepasswd="redcore_live" checkroot() { if [[ "$(whoami)" != root ]] ; then @@ -27,7 +28,7 @@ redcore_live_user_groups() { } redcore_live_user_password() { - echo "$liveuser":"$liveuser" | /usr/sbin/chpasswd > /dev/null 2>&1 + echo "$liveuser":"$livepasswd" | /usr/sbin/chpasswd > /dev/null 2>&1 } redcore_live_locale_switch() { diff --git a/redcorelive-systemd.sh b/redcorelive-systemd.sh index 1fec608..01ccfbf 100755 --- a/redcorelive-systemd.sh +++ b/redcorelive-systemd.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash -export local liveuser="redcorelive" +export local liveuser="redcore" +export local livepasswd="redcore_live" checkroot() { if [[ "$(whoami)" != root ]] ; then @@ -27,7 +28,7 @@ redcore_live_user_groups() { } redcore_live_user_password() { - echo "$liveuser":"$liveuser" | /usr/sbin/chpasswd > /dev/null 2>&1 + echo "$liveuser":"$livepasswd" | /usr/sbin/chpasswd > /dev/null 2>&1 } redcore_live_locale_switch() { -- cgit v1.2.3