1 ) Script to change server wide ownership for all cpanel users.
====================
#!/bin/bash
cd /var/cpanel/users
for user in *
do
chown -Rv $user.$mail /home/$user/etc
chown -v $user.$nobody /home/$user/public_html
chown -Rv $user.$user /home/$user
done
====================
Author Widget
Advertisement
Latest Blog
Categories
- aws
- Basic Linux
- Blogger
- Computer
- cPanel
- DDOS
- Drupal
- Economy
- Email Marketing Series
- Email problems
- Entertainment
- Error and solution
- Fashion
- Featured
- Food
- ftp issues
- How to
- htaccess
- Installation
- Joomla
- Knowledge
- Linux Commands
- magento
- ModSecurity
- mysql
- Nature
- Network
- PHP
- Plesk
- Questions And Answers
- ruby and rails
- security
- Shell Programming and Scripting
- Sports
- Technology
- Tomcat
- Travel
- Uncategorized
- Wordpress