jailkit + chroot cron not working

Discussion in 'ISPConfig 3 Priority Support' started by atle, Mar 24, 2021.

  1. atle

    atle Member HowtoForge Supporter

    See thread https://www.howtoforge.com/community/threads/jailkit-chroot-cron-not-working.53553/
    I have exactly the same problem now, with 3.2.3.

    Code:
    Mar 24 16:15:01 ic CRON[29330]: pam_unix(cron:session): session opened for user web69 by (uid=0)
    Mar 24 16:15:01 ic jk_chrootsh[29336]: path /var/www/clients/client30/web69/./home/web69 is not owned by group 5010
    Mar 24 16:15:01 ic jk_chrootsh[29336]: abort, path /var/www/clients/client30/web69/./home/web69 does not have group owner 5010, set option 'relax_home_group' to relax this check
    Group owner is root for the directory.

    When I compare with other clients on the server, some have proper group owner, other not:

    Code:
    [email protected]:/var/www/clients# ll client*/web*/home/
    client1/web67/home/:
    total 4
    drwxr-xr-x 2 web67 root 4096 Mar 22 21:40 web67
    
    client29/web63/home/:
    total 8
    drwxr-x--- 3 web63 client29 4096 Mar 21 17:20 aoajoyht63
    drwxr-xr-x 2 web63 client29 4096 Mar 21 17:18 web63
    
    client29/web64/home/:
    total 8
    drwxr-x--- 3 web64 client29 4096 Mar 21 18:00 aoajoyht64
    drwxr-xr-x 2 web64 client29 4096 Mar 21 18:00 web64
    
    client29/addondomain/home/:
    total 8
    drwxr-x--- 3 web63 client29 4096 Mar 21 17:20 aoajoyht63
    drwxr-xr-x 2 web63 client29 4096 Mar 21 17:18 web63
    
    client30/web69/home/:
    total 4
    drwxr-xr-x 2 web69 root 4096 Mar 24 15:58 web69
    [email protected]:/var/www/clients#
    Seems like accounts that has got an ssh user have the right group owner ship.
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

Share This Page