---

rbash : Set Restricted shell in Linux

rbash stands for restricted bash shell. In UNIX like operating when a user is created a default shell (/bin/bash) is assigned. So a user can move to any body’s directories , so to avoid this situation we can assign the restricted shell to a user , restricted shell is just like a jail like environment or chroot environment.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis