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.

Error con la creación de cuentas

Discussion in 'Discusión en Español' started by cosmic_outsider, Mar 18, 2008.

  1. cosmic_outsider

    cosmic_outsider Registered

    Joined:
    Mar 18, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Bueno, que tal... escribo para ver si me podían ayudar con el WHM que por alguna razón no anda como debe.

    La cosa es así, al crear una cuenta crea el usuario unix, crea el directorio en /home/usuario, hasta ahí anda a la perfección. Ahora si vemos los permisos del directorio /home/usuario el dueño es root. Por lo que al creaste la cuenta, el usuario de la misma no tiene acceso al directorio.
    Y eso no es todo, además no crea el skel, es decir.. los directorios public_html y public_ftp en el home del usuario.

    Adjunto un log resultado de la creación de la cuenta por linea de comando:

    Code:
    root@vps [/scripts]# ./wwwacct jonatan4.*.com jonatan4 password
    +===================================+
    | New Account Info                  |
    +===================================+
    | Domain: jonatan4.*.com
    | UserName: jonatan4
    | PassWord: password
    +===================================+
    
    This ok? y
    Checking input data......Done
    WWWAcct 12.1.0 (c) 1997-2008 cPanel, Inc.......Done
    Running pre creation script (/scripts/prewwwacct)......Done
    Adding User......Done
    Keeping Shell Access (y)......Done
    Copying skel files from /root/cpanel3-skel/ to /home/jonatan4/...tar: ./public_html: Cannot mkdir: Permission denied
    tar: ./public_ftp: Cannot mkdir: Permission denied
    tar: .: Cannot utime: Operation not permitted
    tar: .: Cannot change mode to rwxr-xr-x: Operation not permitted
    tar: Error exit delayed from previous errors
    ...Done
    safe_userchgid: chown: /home/jonatan4/public_html: Permission denied at /usr/local/cpanel/Cpanel/SafetyBits.pm line 76.
    Adding Entries to httpd.conf......Done
    Setting up Mail & Local Domains......Done
    Configuring DNS......Done
    Restarting apache......Done
    Updating Authentication Databases......Done
    Setting up Frontpage<sup>&reg;</sup>......Done
    Sending Account Information......Done
    Running post creation scripts (/scripts/legacypostwwwacct, /scripts/postwwwacct, /scripts/postwwwacctuser)......Done
    Setting up Domain Pointers......Done
    Setting Reseller Privs......Done
    Account Creation Complete!!!......Done
    Account Creation Ok
    
    
    Dns Zone check is enabled.
    +===================================+
    | New Account Info                  |
    +===================================+
    | Domain: jonatan4.*.com
    | Ip: 207.210.111.220 (n)
    | HasCgi: y
    | UserName: jonatan4
    | PassWord: password
    | CpanelMod: x3
    | HomeRoot: /home
    | Quota: 0 Meg
    | NameServer1: *
    | NameServer2: *
    | NameServer3:
    | NameServer4:
    | Contact Email:
    | Package: default
    +===================================+
    Changing password for jonatan4
    Password for jonatan4 has been changed
    localdomains...valiases ...vdomainaliases...vfilters...Bind reconfiguring on vps using rndc
    Updating ftp passwords for jonatan4
    Ftp password files updated.
    Ftp vhost passwords synced
    /home/jonatan4/public_html does not exist or is not a directory!
    wwwacct creation finished
    Account Creation Ok
    A ver alguien sabe porque puede estar pasando esto :(
     
  2. mohakevin

    mohakevin Well-Known Member

    Joined:
    Jan 19, 2005
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    La verdad es que no se si te voy a poder ayudar mucho o que..
    la cosa es que lo que ocurre es que no tiene permisos está claro...
    Pero mirando el log que has pasado.... pq ponee esto:

    | HomeRoot: /home

    cuando tendría que poner

    | HomeRoot: /home/usuariox

    no ?
     
  3. cokequai

    cokequai Member

    Joined:
    Feb 15, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Chile, Santiago.
    cómo vas con este tema?
     
Loading...

Share This Page