Saturday, September 13, 2014

How to disable "who" and "users" and "last" command

On a VPS where you have multiple users you might not want that everybody can lurk and see who else is online.

Simple Solution: chmod 0700 /usr/bin/who and /usr/bin/w and /usr/bin/users and /usr/bin/last