summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-12-24 12:39:50 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-12-24 12:39:50 +0000
commit2d3ef01e707bc5d484446b241a59efd060ac1d48 (patch)
tree0ffdb71b2305eeb1a159f49c598de2d0a63a3b23
parent22849826bd39fc73f23eb953b587b02e53962e99 (diff)
our previous fix was insufficient, make sure this one will do
-rwxr-xr-xredcorelive-openrc.sh5
-rwxr-xr-xredcorelive-systemd.sh5
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() {