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.

No one can login!

Discussion in 'General Discussion' started by Finkinstein, Jul 21, 2004.

  1. Finkinstein

    Finkinstein Well-Known Member

    Joined:
    Mar 21, 2003
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Hey all,

    Got a slight problem.. none of my users can login to cpanel.

    My harddrive recently had to be replaced so I moved the home dir and all the settings across so that everything could continue as usual (I've odne this before quite successfully).

    Anywho, nobody can log into cpanel, login fails as if the password were incorrect.

    Ideas to get this back? Must be a problem with the user files?
     
  2. bamasbest

    bamasbest Well-Known Member

    Joined:
    Jan 10, 2004
    Messages:
    531
    Likes Received:
    0
    Trophy Points:
    16
    Have you checked the ownerships of the users' directories?
     
  3. Finkinstein

    Finkinstein Well-Known Member

    Joined:
    Mar 21, 2003
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    /var/cpanel/users:

    drwxr-sr-x 2 cpanel root 8192 Jul 21 06:40 users/

    And a sample of the actual user files:

    -rw-r--r-- 1 cpanel root 148 May 8 14:26 abbfxbi
    -rw-r--r-- 1 cpanel root 181 Mar 5 16:39 acg
    -rw-r--r-- 1 cpanel root 151 Jul 15 04:56 admin
    -rw-r--r-- 1 cpanel root 910 May 23 04:01 adw
    -rw-r--r-- 1 cpanel root 188 Mar 23 15:33 afp

    What should they be and are these the files you mean?
     
  4. bamasbest

    bamasbest Well-Known Member

    Joined:
    Jan 10, 2004
    Messages:
    531
    Likes Received:
    0
    Trophy Points:
    16
    Actually, I meant their web files (probably /home )
     
  5. Finkinstein

    Finkinstein Well-Known Member

    Joined:
    Mar 21, 2003
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Ok, its all users so I'll just do one..

    /home:
    drwx--x--x 6 admin admin 4096 Jul 15 05:00 admin/

    /home/admin/:drwx--x--x 6 admin admin 4096 Jul 15 05:00 ./
    drwx--x--x 350 root root 8192 Jul 21 06:40 ../
    -rw------- 1 admin admin 14 Jul 15 04:57 .contactemail
    -rw------- 1 admin admin 12 Jul 15 04:57 .lastlogin
    drwxrwx--- 2 admin mail 4096 Jul 15 04:56 mail/
    drwxr-xr-x 3 admin admin 4096 Jul 15 04:56 public_ftp/
    drwxr-x--- 10 admin nobody 4096 Jul 15 06:47 public_html/
    drwx------ 7 admin admin 4096 Jul 15 05:00 tmp/
    lrwxrwxrwx 1 admin admin 11 Jul 20 02:11 www -> public_html/
     
Loading...

Share This Page