Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 14 of 14
  1. #1
    Member
    Join Date
    Feb 2004
    Posts
    6

    Default skeleton directory

    Hi

    The skeleton directory is a nice feature in cPanel. But I wonder if its possible to use it to automatically upload any number of directories and subdirectories and files in each new account created through WHM?
    Or is it to be used for just uploading files, not whole directories?
    and is there any file size limit?

    cPanel.net Support Ticket Number: can we use it to create whole directories?

  2. #2
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    You can put a whole website there if you want to. Whatever is in the skel directory, and subdirectories, will be copied over to the new account.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  3. #3
    Member
    Join Date
    Feb 2004
    Posts
    6

    Default

    thats wonderful, thanks very much.

    Being a reseller, not root admin: I suppose there is no feature for more than one skeleton directory, to choose between different plans, no?
    And whatever I upload there will be copied to all future accounts, I cannot disable for some and enable for others?
    Last edited by sallam; 02-28-2004 at 07:32 PM.

  4. #4
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    As a reseller you will only have 1 and it will be used for all accounts, but you can always manually edit the new account content after creation. You could also have more than 1 template on your own computer and change the skel directory content as needed.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  5. #5
    Member
    Join Date
    Feb 2004
    Posts
    6

    Default

    how about uploading some directories, and only rename the one I need to use for skeleton?
    although my quota as a reseller is 10gb, it turned out that my reseller account itself is only 10mb. is that the maximum? or can my host icrease it for me?

  6. #6
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    If you have the space you could upload them as cpanel3-skel1, 2, and so on and rename the one you want to be the active one.

    If your reseller account was set up as a bogus account it probably was set small to give you the space for real accounts. Your host can increase it for you easy enough.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  7. #7
    Member
    Join Date
    Feb 2004
    Posts
    6

    Default

    sorry for asking too much, but what is 'bogus account'?
    can a host do that?

  8. #8
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    That's just a term meaning no real domain account. Some hosting companies create reseller accounts using just about anything for the domain. That way the resellers actual domain can be whatever he wants to set it up as.

    Either way, they can easily give you more space to give you room for skeleton directories.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  9. #9
    Member
    Join Date
    Feb 2004
    Posts
    6

    Default

    ok, thanks very much indeed for your kind help

  10. #10
    Member PackCat's Avatar
    Join Date
    Jan 2004
    Location
    Charlotte, NC
    Posts
    27

    Default

    Originally posted by squirrel As a reseller you will only have 1 and it will be used for all accounts, but you can always manually edit the new account content after creation.
    Your comment have brought a few ideas to mind.

    1) do all cpanel3-skel files copy with their permissions intact, and (chown'd & chgrp'd) to the new account userID? The reason I asked was I noticed some cgi files gave 500 errors before massaging.

    2) does it also copy links: (I want to make a ~/public-html/logs link point to ~/logs)
    example: (ln -s ../logs logs) [logs -> ../logs] in the public_html directory.

    3) Is there any attempt in the future to work in more real-world terms, such as setting up accounts with group permissions that allow the WHM admin to be a member of the account name group. It would help when hosting accounts require assistance. The WHM admin could use ssh and copy/update files when needed.

    4) I am also having a tough time with "cpanel" owned files, such as log files ( /usr/local/apache/domlogs)

    examples:
    owner | group | domain-log
    ------ | ------ | -------------
    root | packcat | fm.packcat.org
    root | packcat | forums.packcat.org
    root | gv | gothicvamp.packcat.org
    root | packcat | guestbook.packcat.org
    root | jpi | jpi.packcat.org
    root | packcat | packcat.org


    It would a lot easier for the WHM admin to perform daily logs on all the sub accounts, if the files were "OWNED" by the WHM admin instead of root, and the groups could stay the same.... I think you get the idea of where I am going here.

    it seems to me that cpanel should run as a root process, then it would be able to do it's job, while letting the "chips" or files fall where they may.

    I believe there should be a better relationship between the WHM and Host account and be reflected in the file ownerships. (that would also fix problems with having to copy a file you forgot to put in the skeleton directory) or maybe at least put a utility in the WHM that would allow the WHM admin to copy individual or groups of files to host accounts, or remove undesirable or obscene content.

    The host account could always chmod group permissions if their content contained especially sensitive information.

    thanks,
    john

    P.S. I doubt that you have anything to do with PHP scripts, but it would probably be a lot easier to manage PHP install packages like fantastico, if they used suexec like Apache html files, but that may be more of a system administrator issue instead of cpanel.
    see: mod_php
    Last edited by PackCat; 03-03-2004 at 09:30 PM.

  11. #11
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    1) yes
    2) I think so
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  12. #12
    Member PackCat's Avatar
    Join Date
    Jan 2004
    Location
    Charlotte, NC
    Posts
    27

    Default

    Originally posted by squirrel
    1) yes
    2) I think so
    BTW, I thought I saw a post mentioning changing a domain name, where is that done at?

    I don't see anything in WHM that modifies this, is it handled thru the zone manager.

    suppose: billy gets a new account, but doesn't have his domain yet, and I want to give him billy.mydomain.com, until he gets the new domain name, then he tells me it is ready, will I modify his domain name...

    yes, I'm lazy and tired, and probably could have searched this faster than I posted it, my apologies

  13. #13
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    You can change the domain name with "modify an account".
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  14. #14
    Member PackCat's Avatar
    Join Date
    Jan 2004
    Location
    Charlotte, NC
    Posts
    27

    Default

    Originally posted by squirrel
    You can change the domain name with "modify an account".
    My bad... I thought that was a grayed-out field before.. now I see that I can actually type in the Domain field... thanks for being so gentle...
    Now I can go ahead and create the account that has been sitting on my desktop for the last 4 hours waiting for me to submit... If only now if I can figure out how to setup and designate "packages"... but that is a question for another day

    thanks for your help,
    john
    Last edited by PackCat; 03-03-2004 at 10:49 PM.

Similar Threads & Tags
Similar threads

  1. About Skeleton directory
    By thewebhosting in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-07-2009, 01:56 PM
  2. Skeleton Directory
    By liquidb in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-16-2005, 02:39 AM
  3. New to skeleton directory... how do I...
    By flavesta in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-28-2003, 02:30 PM
  4. Skeleton Directory
    By silvernetuk in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 02-25-2003, 04:39 AM
  5. Skeleton Directory
    By jameshsi in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-21-2002, 06:53 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube