Linux server administration tips
Wednesday, 30 July 2014
Script to Disable Shell Access For All cPanel users
#!/bin/sh
cd /var/cpanel/users/
for file in *
do
chsh -s /usr/local/cpanel/bin/noshell $file
done
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment