What is a safe way to exit a user’s shell?
If I change to a potentially compromised user in Unix, for example by using su or sudo -i, then exit with exit, the compromised user could alias exit to something which drops me into a fake shell which has a keylogger. For ex… Continue reading What is a safe way to exit a user’s shell?