ldap.sh aktualisiert

This commit is contained in:
sebastian.zell 2024-12-29 22:53:11 +00:00
parent 36245dcb8f
commit 6e59130a99
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ getent passwd | grep -i 'debian' # Beispiel: Filtern nach einem lokalen Benutze
# SSH-Zugriff für diese Gruppe aktivieren
echo "SSH-Zugriff für Gruppe $GRUPPE erlauben..."
echo "AllowGroups $GRUPPE" >> /etc/ssh/sshd_config
echo "AllowGroups root $GRUPPE" >> /etc/ssh/sshd_config
# SSH-Dienst neu starten
systemctl restart ssh