精选30+云产品,助力企业轻松上云!>>>
#!/bin/bash
del=$(cat /etc/passwd | grep \”/bin/bash\”|awk -F: \’$3>=500 {print $1}\’)
for i in $del
do
/usr/sbin/userdel -r $i &> /dev/null
done
精选30+云产品,助力企业轻松上云!>>>
#!/bin/bash
del=$(cat /etc/passwd | grep \”/bin/bash\”|awk -F: \’$3>=500 {print $1}\’)
for i in $del
do
/usr/sbin/userdel -r $i &> /dev/null
done