How to limit user's access to the linux system

This tutorial mostly works on the Raspberry PI (Raspbian Buster)- some files need to be created manually.
sudo su is needed for the above to work, and a .bash_profile file needs to created.

More tutorials (untried)

Red Hat How to restrict access A little different, but very simuliar to the above.
Restrict SSH User Access to certain directory using chrooted jail
restrict a user to a specific directory

Set up a Banner for a specific user

This works using SSH ssh bbs@bbs this displays the banner before the user login, after the user logs in they get the MOTD.
Banner