and make it a suggestion in /etc/skel/.bashrc for those users who want
to see the actual current working directory.
From a security standpoint you could enter e.g.
/home/someoneelse/somedir/ and see me@debian:/home/someoneelse/somedir/$
in the prompt, but really be in /etc/ if somedir is a (potentially
malicious) symlink to /etc created by a different user. It could get
quite disastrous if you decide to run something like rm -r * in such a
It won't be very helpful with more sophisticated symlink race
conditions, but it is better than nothing.
Perhaps I should post it to bash package wishlist, what do you think?
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact email@example.com