Weird issue I found on CentOS5 vs on CentOS4
If Im in a directory as a non-root user and type pwd it works fine, but if i do /usr/pwd i an error
[user@server1 ~]$ /bin/pwd /bin/pwd: cannot open directory `..': Permission denied [user@server1 ~]$ pwd /home/user
[user@server1 ~]$ /bin/pwd /chroot/home/user [user@server1 ~]$ pwd /home/user
I’m guessing this has to do with the jailed shell b/c on C4 it shows the full path when you use /bin/pwd vs pwd
Anyway around this?