Dashboard
PHP:
8.3.36
OS:
Linux
User:
degyfmxd
/
/
opt
📤 Upload
📝 New File
📁 New Folder
Close
Editing: suspendscript.sh
#!/bin/bash touch userlist while read line; do grep $line /etc/domainusers | cut -d: -f1 >> userlist done < domainlist while read user; do /scripts/suspendacct $user done < userlist rm -f userlist echo "The requested accounts have been suspended."
Save
Cancel