You can try with shell wrapper as,
#!/bin/ksh
#!/bin/ksh
CD=/usr/bin/cd
(
printf "$(date) $LOGNAME OLDDIR=$PWD ";
${CD} $@
printf "NEWDIR=$PWD\n"
) >> /tmp/cdlog.$(date +'%b_%d_%y')
exit 0
# END #
Put this file in /usr/sbin/cd
# chmod 755 /usr/sbin/cd
# chown bin:bin /usr/sbin/cd
Put this in /etc/profile file.
# alias cd='/usr/sbin/cd'
You can see log files are created in /tmp/cdlog.
with informations.
hth.
Easy to suggest when don't know about the problem!