|
用root登陆之后,在apache里面执行cgi的时候出现下面错误:
#############################################################################################
The only thing I found, was that sometimes I got the below error under the root user. We should ask the site if they have set any shell restrictions or operate test in a zone or virtual environment.
sh: cd: 0403-019 The operation is not allowed in a restricted shell.
Eg.
# cd ..
sh: cd: 0403-019 The operation is not allowed in a restricted shell.
# pwd
/usr/local/apache2/cgi-bin
#
# cd /usr/local/apache2
sh: cd: 0403-019 The operation is not allowed in a restricted shell.
# echo $SHELL
/usr/bin/ksh
请高手们帮忙看看我该如何修改shell? |
|