Skip to content

Commit

Permalink
hooks: remove the 107 check as dhcpcd-base uses it
Browse files Browse the repository at this point in the history
  • Loading branch information
Meulengracht committed Apr 22, 2024
1 parent bf9331c commit 7d5b7bf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions hooks/990-ensure-uids-gids.chroot
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ echo "Ensure no docker"
! grep -q docker /etc/passwd /etc/shadow /etc/group /etc/gshadow
rc=$?; [ "$rc" != "0" ] && MISMATCH=1

echo "Ensure no user 107 (ex-docker)"
cut -d: -f3 /etc/passwd | grep -q 107
rc=$?; [ "$rc" = "0" ] && MISMATCH=1

echo "Ensure no group 113 (ex-docker)"
cut -d: -f3 /etc/group | grep -q 113
rc=$?; [ "$rc" = "0" ] && MISMATCH=1
Expand Down

0 comments on commit 7d5b7bf

Please sign in to comment.