1
0

Merge branch 'master' of git.labolyon.fr:dtux/lalis-config

This commit is contained in:
Daniel Tartavel 2023-09-18 15:50:21 +02:00
commit 702c6bc493

View File

@ -19,12 +19,12 @@ Source11: lalis-i586-source.repo
Source12: lalis-x86_64.repo
Source13: lalis-x86_64-source.repo
Obsoletes: task-lalis-minimal < 5.6
Requires: openssh-server
Requires: lsb-release
Requires: lsb-lib64
Requires: wpa_supplicant
Requires: ssmtp
Requires: tigervnc-server
Recommends: openssh-server
Recommends: lsb-release
Recommends: lsb-lib64
Recommends: wpa_supplicant
Recommends: ssmtp
Recommends: tigervnc-server
%description
Configure for lalis tools
@ -175,7 +175,8 @@ if [ $1 -eq 0 ];then
# supprime l'utilisateur Lalis
echo "Suppression de l'utilisateur lalis (dossier personnel compris)"
userdel -rf lalis
groupdel lalis
# supprime l'utilisateur lalis de la liste des utilisateurs autorisés à se connecter en ssh
echo "suppression de l'utilisateur lalis de sshd_config"
if [ -n "`grep lalis /etc/ssh/sshd_config`" ]; then