[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 00c3f13: Specify shell in schroot configurati
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 00c3f13: Specify shell in schroot configuration |
Date: |
Sat, 7 Mar 2020 11:20:57 -0500 (EST) |
branch: master
commit 00c3f13c907fab14a10b95154302c8ea0ea34876
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Specify shell in schroot configuration
The host $SHELL does not govern, and the host may not use /etc/passwd,
so specify the shell to be used in a chroot. See:
https://lists.nongnu.org/archive/html/lmi/2020-03/msg00008.html
---
install_centos.sh | 2 ++
install_redhat.sh | 1 +
lmi_setup_11.sh | 1 +
3 files changed, 4 insertions(+)
diff --git a/install_centos.sh b/install_centos.sh
index 8188c01..6b1ceb4 100755
--- a/install_centos.sh
+++ b/install_centos.sh
@@ -40,6 +40,7 @@ directory=/srv/chroot/centos7lmi
users=${NORMAL_USER}
groups=${NORMAL_GROUP}
root-groups=root
+shell=/bin/zsh
type=plain
EOF
@@ -138,6 +139,7 @@ directory=/srv/chroot/${CHRTNAME}
users=${NORMAL_USER}
groups=${NORMAL_GROUP}
root-groups=root
+shell=/bin/zsh
type=plain
EOF
diff --git a/install_redhat.sh b/install_redhat.sh
index 614e1e3..6a76d2b 100755
--- a/install_redhat.sh
+++ b/install_redhat.sh
@@ -159,6 +159,7 @@ directory=/srv/chroot/${CHRTNAME}
users=${CHROOT_USERS}
groups=${NORMAL_GROUP}
root-groups=root
+shell=/bin/zsh
type=plain
EOF
diff --git a/lmi_setup_11.sh b/lmi_setup_11.sh
index 1745146..ff76a78 100755
--- a/lmi_setup_11.sh
+++ b/lmi_setup_11.sh
@@ -45,6 +45,7 @@ directory=/srv/chroot/${CHRTNAME}
users=${NORMAL_USER}
groups=${NORMAL_GROUP}
root-groups=root
+shell=/bin/zsh
type=plain
EOF
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [lmi] master 00c3f13: Specify shell in schroot configuration,
Greg Chicares <=