Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/246'
Browse files Browse the repository at this point in the history
  • Loading branch information
mika committed Nov 17, 2023
2 parents d275bdf + 64f1f16 commit 52965f9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 0 additions & 3 deletions chroot-script
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
7 changes: 7 additions & 0 deletions tests/goss.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
process:
sshd:
running: true

file:
/etc/timezone:
exists: true
Expand All @@ -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

0 comments on commit 52965f9

Please sign in to comment.