Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 5644  / 2 Years ago, wed, november 9, 2022, 9:06:16

Is it possible to enter a chroot without using sudo? If so, how? I've tried googling, but all I get are results about crouton.


More From » sudo

 Answers
2

You can look at the schroot Install schroot package. It provides a way to grant user access to one or more chroots on your system. The configuration allows each chroot to be accessed by only certain users or groups and allows bind-mounting of directories from the host system into each chroot as desired.



Once it is configured, it is easy for an ordinary user with no root privileges to run



schroot -c chroot1 -- cmd ...


For some more description and examples of how to configure schroot, read




[#24418] Thursday, November 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ionodest

Total Points: 252
Total Questions: 122
Total Answers: 100

Location: Liechtenstein
Member since Tue, Apr 27, 2021
3 Years ago
;