PATH appended with . ?
Hi all,
In the last few lines of /etc/profile, I saw:
# For non-root users, add the current directory to the search path:
if [ ! # For non-root users, add the current directory to the search path:
if [ ! "`id -u`" = "0" ]; then
PATH="$PATH:."
fi
I checked that I did not add these few lines by myself. As I remembered, adding . to the $PATH could cause problematic issue like infamous security problem "loop-hole", so should we leave them?
Correct me if I am wrong.
Thanks.
|