Browse Source

add lockshell

pull/10/head
Cian Butler 4 years ago
parent
commit
7bfd4d409b
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      lockshell

+ 9
- 0
lockshell View File

@@ -0,0 +1,9 @@
#!/bin/bash

usernames=$(ls /home/club)

for username in $usernames
do
/srv/admin/scripts/rrs/useradm setshell -o $username /usr/local/shells/nologin
sleep 4
done

Loading…
Cancel
Save