Bypassing terminal restrictions





Today, the Linux operating system can be found everywhere, from home user systems to servers and IoT devices. Often, using the terminal in these systems is a very risky undertaking, since incorrect command entry in it can lead to irreparable consequences. To avoid such situations, you can either use a terminal emulator or set up restrictions on command calls. In this article, we will look at popular tools for setting restrictions on the use of the terminal and how to bypass them.





How to reduce the number of teams?

For any task that the operating system performs, there is always a set of software to solve it. If the system administrator chose to limit the number of available commands for user input, then the following types of software are available to him:





  1. , ;





  2. , , .





:





rbash







rzsh







rksh







:





lshell







rssh







: . , . , , .





. Kali Linux Debian 5.9. rbash



, . rbash



:





  1.   : mkdir test; cd test







  2.   rbash



    test



    . , , cd



    . :





    , . . 





rzsh



. , . — rzsh



, zsh



: ‘-r’



. .





, :





, , , , . , .





: , , . ?





?

: ? ? , («, »):





  1.   (Enumiration)





  2.  





  3.  





, , :





  1. ?





  2. ?





  3. ?





  4. ?





. rbash



. , , - .





1. . , .





, rbash







, . , “Desktop”.





2. . cd



? , , , . cd



— . . rbash



, vim



:





3. . vim



, : !



.





vim



: :!bash



.





:





, vim



. . : .





— - , . , , , .






OTUS - «Administrator Linux. Professional».





demo- « Bash».












All Articles