Thursday, April 30, 2015

(CRON) ERROR chdir failed (/bin/bash): Not a directory

check /etc/passwd for typo :-(


# cat /etc/passwd
pg:x:100:100:pankaj gautam/pankaj:/bin/tcsh

# cat /etc/passwd ( : missing in root user home /root)
pg:x:100:100:pankaj gautam:/pankaj:/bin/tcsh