projects
/
grml-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
2f15cb7
)
Merge remote-tracking branch 'origin/pr/247'
author
Michael Prokop
<mika@grml.org>
Fri, 17 Nov 2023 16:41:18 +0000
(17:41 +0100)
committer
Michael Prokop
<mika@grml.org>
Fri, 17 Nov 2023 16:41:18 +0000
(17:41 +0100)
chroot-script
patch
|
blob
|
history
tests/goss.yaml
patch
|
blob
|
history
diff --git
a/chroot-script
b/chroot-script
index
1bd3abb
..
a077acd
100755
(executable)
--- a/
chroot-script
+++ b/
chroot-script
@@
-384,9
+384,6
@@
passwords()
return 0
fi
- echo "Activating shadow passwords."
- shadowconfig on
-
CHPASSWD_OPTION=
if chpasswd --help 2>&1 | grep -q -- '-m,' ; then
CHPASSWD_OPTION='-m'
diff --git
a/tests/goss.yaml
b/tests/goss.yaml
index
97b75d8
..
fdf8316
100644
(file)
--- a/
tests/goss.yaml
+++ b/
tests/goss.yaml
@@
-1,6
+1,7
@@
process:
sshd:
running: true
+
file:
/etc/timezone:
exists: true
@@
-9,3
+10,9
@@
file:
filetype: symlink
exists: true
linked-to: /usr/share/zoneinfo/Europe/Vienna
+
+ # shadow passwords are enabled.
+ /etc/shadow:
+ exists: true
+ /etc/gshadow:
+ exists: true