Hello everyone, probably everyone has encountered such a problem when a utility is needed, but it requires root rights, which you do not have. Well, I found a solution, but I immediately warn you that the method does not work with all utilities.
Installation:
- apt update -y
- apt upgrade -y
- apt install git
- git clone https://github.com/B41B4L/FakeRoot
- cd FakeRoot
- chmod + x Root.sh
- . / Root.sh
Done, for verification, we can write the command:
- whoami
The result should be like this - root
There is also an alternative installation method:
- pkg install fakeroot
And to activate the Route mode, we always write the command:
- fakeroot