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:
, ;
, , .
:
rbash
rzsh
rksh
:
lshell
rssh
: . , . , , .
. Kali Linux Debian 5.9. rbash
, . rbash
:
:
mkdir test; cd test
rbash
test
. , ,cd
. :
, . .
— rzsh
. , . — rzsh
, zsh
: ‘-r’
. .
, :
, , , , . , .
: , , . ?
?
: ? ? , («, »):
(Enumiration)
, , :
?
?
?
?
. rbash
. , , - .
1. . , .
, rbash
:
, . , “Desktop”.
2. . cd
? , , , . cd
— . . rbash
, vim
:
3. . vim
, : !
.
vim
: :!bash
.
:
— - , . , , , .
OTUS - «Administrator Linux. Professional».
demo- « Bash».