- Plesk 12.5 for Linux
- Plesk 11.x for Linux
- Plesk 12.0 for Linux
Scheduled tasks running programs that are absent from a virtual host's chrooted shell environment (for example,
) fail on domains that are set up to provide chrooted shell access to FTP users.
The following error might occur:
user with id=11112 and name=`<user_name>` not found in chrooted passwd file
system error: No such file or directory
Using the utility
, it is possible to configure the server to not set the
variable in users' crontabs, which would make cron by default use
and allow users with chrooted shell enabled run their scheduled tasks (any command which is available for execution with current user permissions) in a global server environment.
To disable the setting of the
variable, execute the
utility with the following options:
# /usr/local/psa/bin/server_pref --update -crontab-secure-shell ""
To revert the change, use this command:
# /usr/local/psa/bin/server_pref --update -crontab-secure-shell /bin/bash