Merge branch 'master' of git.labolyon.fr:dtux/lalis-config
This commit is contained in:
commit
702c6bc493
@ -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
|
||||
|
Reference in New Issue
Block a user