Search Engine: Elastic

Article ID: 119643, created on Jan 14, 2014, last review on Sep 29, 2016

  • Applies to:
  • Plesk Automation 11.1
  • Plesk Automation 11.5

Symptoms

Configured scheduled task for the user does not work. The following error message can be recieved on execution of this task:

    user with id=10002 and name=test_user not found in chrooted passwd file

Cause

This issue caused by misconfiguration in /var/www/vhosts/domain.tld/etc/passwd:

    # cat /etc/passwd | grep test_user
    test_user:x:10032:506::/var/www/vhosts/domain.tld:/bin/false

Resolution

  1. Enable and disable Access to the server over SSH in Websites > Web Hosting Access in Customer's Control Panel

  2. Check that the same user id is set in /etc/passwd and in /var/www/vhosts/domain.tld/etc/passwd file:

    # grep test_user /etc/passwd
    test_user:x:10002:505::/var/www/vhosts/example.com:/bin/false
    # grep test_user /var/www/vhosts/domain.tld/etc/passwd
    test_user:x:10002:505::/:/bin/bash
    

c1ecc6010feff26cb42d1d14a7881dd6 e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065 0f0c16f5b0ad439b029f1a4ef76c7eed 33a70544d00d562bbc5b17762c4ed2b3

Email subscription for changes to this article
Save as PDF