Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    BANNED
    Join Date
    Feb 2002
    Posts
    656

    Default Getting another directory create to everyones account

    When I create an account in WHM I want a directory called /imagelib to be created in there www directory, how can I do this?

    Every user needs to have a logical link from a directory called /imagelib in their www directory to the common directory that you placed the image library into.

  2. #2
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

    Create the structure in the /cpanel-skel directory..... that is, preset the skeleton directory to whatever you want with whatever you want in it.

    If you do a search on this forum you will find more information.

    But that skeleton dir tweaking should do the trick....

    good luck.
    ..............................


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

  3. #3
    BANNED
    Join Date
    Feb 2002
    Posts
    656

    Default cpanel-skel?

    Hello,

    Thank you for your response, but, I am not sure what you mean by cpanel-skel, do i create a directory called cpanel-skel?


    root@server100 [/usr/local/cpanel]# ls
    ./ bin/ cpaneld* entropychat/ ipaliases* newapi.txt startup*
    ../ cgi-sys/ cpanel.lisc etc/ java-sys/ perl/ tests/
    \032\032 ChangeLog cpanellogd* ExampleModule.test.html lang/ phpcpanel* uninstall*
    1 ChangeLog.html cpanelphp* findlatest LICENSE redhat/ version
    3rdparty/ conf/ Cpanel.pm history/ liscerr* SafeFile.pm webmaild*
    apache/ cpanel* cpconf* img-sys/ ll setupapache* whostmgr/
    APACHE_CONFIG Cpanel/ cpkeyclt* inslibs* logs/ share/
    api.txt cpanelcc* CVS/ install/ Makefile src/
    base/ cpanelccp* dist/ installtheme* Makefile.old startstunnel*

  4. #4
    cPanel Test Bitch
    Join Date
    Feb 2002
    Location
    Boston MA
    Posts
    596

    Default

    There should already be a skel directory in your /root directory. /root/cpanel-skel to be exact. Anything you put in that folder will be placed into new accounts.

  5. #5
    cPanel Verified Vendor This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Aug 2001
    Location
    All over Europe
    Posts
    407

    Default

    the directory name is &cpanel3-skel&. You may have one at /root or at a resellers homedir (each reseller has own &cpanel3-skel&amp. If there isn't one (as a reseller), create it.

    Go inside:
    cd /home/$resellerusername/cpanel3-skel/public_html

    Make a symbolic link to &imagelib& using absolute path:
    ln -s /absolute/path/to/imagelib imagelib

    Have some red wine.

    Kosmo
    http://netenberg.com/
    AccountLab Plus Affordable professional webhosting billing
    Click Be! Building websites as easy as it click be
    Fantastico De Luxe - Install your favourite scripts at a mouse click
    Universina - The CPanel skin with Heart and Soul

Similar Threads & Tags
Similar threads

  1. Create a new account - Ftp access directory root.
    By VCB in forum Discussões em Português
    Replies: 1
    Last Post: 07-25-2011, 12:12 AM
  2. Create New Account Puts directory on backup hard drive?
    By BlackRain in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 01-06-2010, 12:17 AM
  3. unable to create any directory that uses numbers as the directory name
    By madan.cpanelnet in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-11-2008, 12:16 AM
  4. Create directory's and files in a user account
    By LindyH in forum cPanel Developers
    Replies: 3
    Last Post: 12-27-2007, 05:48 AM
  5. Resellers can see everyones' packages!
    By LiquidBlueX.net in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-02-2005, 05:28 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube