Problem scenario
When you open a terminal or log into a Linux server, you see a message like this:
“mount: /foobar: must be superuser to use mount.”
You suspect some bash script is running every time you log in. What should you do?
Possible solution #1
If you are running a Red Hat server, go to /etc/profile.d/.
…