Why does the script /usr/bin/test get executed when user does login in csh ?
Issue
- If a world executable file/script by the name
testis created under/usr/local/binand try to switch to a user who hascshas default shell, thetestfile gets executed automatically. - This is the case only with any file named
testunder/usr/local/bin. - If the name is changed to any other name, it does not get executed.
Environment
- Red Hat Enterprise Linux 6.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
