I recently bought a VPS with Ubuntu 18.04 (Server) on it, and ever since I've started using it I've been spammed by one of my friends regarding that he wants an account. I wanna take some revenge on the spamming by pulling a prank on him by creating an account that has no access to any binary file/command, the goal is to make his account only be able to write in the command line but really have no access to execute any commands. His account won't be added to the sudoers list.
Is there any way to achieve this?
Thanks, Richard.
bash -r
with an empty PATH might work.