去掉备份冗余

This commit is contained in:
guanghongwei
2014-08-15 15:43:39 +08:00
parent 8feb77416d
commit a19a8e86df
8 changed files with 11 additions and 16 deletions

View File

@@ -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"