mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-22 00:09:14 +00:00
去掉备份冗余
This commit is contained in:
@@ -14,6 +14,5 @@ if [ $? == '0' ];then
|
||||
userdel -r $username
|
||||
else
|
||||
echo "$username is not exist."
|
||||
exit 3
|
||||
fi
|
||||
ldapdelete -x -h $host -D "cn=admin,dc=yolu,dc=com" -w $ldapassword "cn=$username,ou=Sudoers,dc=yolu,dc=com"
|
Reference in New Issue
Block a user