The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Getting another directory create to everyones account

Discussion in 'General Discussion' started by AbeFroman, Mar 26, 2002.

  1. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    0
    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. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  3. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    0
    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. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    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. kosmo

    kosmo Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    403
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    All over Europe
    the directory name is &cpanel3-skel&. You may have one at /root or at a resellers homedir (each reseller has own &cpanel3-skel&). 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
     
Loading...

Share This Page