Manage Skeleton Directory in WHM

Manage Skeleton Directory in WHM

In this tutorial, we are going to discuss about how to manage the skeleton directory in WHM. By default, all the newly created accounts open with a 403 error. Which indicated there is no file or directory available on that account. If you want to add any custom pages for all the newly created accounts, then you can use the skeleton directory feature on your WHM. Skelton directory in WHM allows you to copy the same files to every newly created cPanel accounts public-html and public_ftp folders.

1) Login WHM as the root user.

2) Select the icon “Account Functions”.

skeleton directory

 

3) Navigate to “Skelton Directory”.

skeleton directory

 

4) In this page, you can see the path to the default Skeleton directory.

skeleton directory

 

This directory is what is going to be used as a skeleton for newly created cPanel accounts. For example, if you place an index.html file in /root/cpanel3-skel/public_html, and then creating a new cPanel account, that cPanel account will have a replica of your index.html in their public_html directory.

If you want to create custom pages for all the accounts on your reseller panel, you can upload the new page to the skeleton directory of your main or reseller account using FTP or file manager.

 

What is the /etc/skel directory?

The directory /etc/skel directory contains some files and directories that will be copied in the newly created user account. The skeleton directory has automatically copied the files and folders when the new user is created with useradd or other commands. After installing the operating system, some configuration files are placed in the /etc/skel directory and they are:

 /etc/skel/.bash_logout

/etc/skel/.bashrc

/etc/skel/.profile

/etc/skel/.vimrc

To change the location of the skeleton directory, edit line beginning with SKEL=, in the /etc/default/useradd file.

# SKEL=/etc/skel

If you need any further help, please do reach our support department.

 

  • 0

How to Enable Plaintext Authentication in Dovecot?

How to Enable Plaintext Authentication in Dovecot? Dovecot is an IMAP or POP3 server for...

Install Apache Tomcat using EasyApache4

Install Apache Tomcat using EasyApache4 The Apache Tomcat is an Apache module that provides a...

How to Enable Extended Logging in Exim

How to Enable Extended Logging in Exim The extended Exim logs in cPanel server will help you to...

Maximum number of connections from user+IP exceeded

Maximum number of connections from user+IP exceeded If you are getting an error like ‘ Error –...

How To Set Up Remote Access Key in WHM

How To Set Up Remote Access Key in WHM Remote Access Key is a cPanel feature that allows...