Reaction score: 45
I've configured a Devuan Linux jail on FreeBSD,following this tutorial :
it seems that everything is working properly,except for the fact that I don't know how to start a graphical desktop manager. My ultimate goal is to install and configure teamviewer inside the jail. Anyway,according with this tutorial :
it seems that I can run correctly teamviewer inside a chroot. And maybe even inside a jail,since they are almost the same. Ok,I'm frozen at some point,precisely here where he says :
Создание пользователя с таким же uid, как и у username в хостовой системе. Посмотреть uidпользователя можно командой id username.
that translated from russian to english language sounds like this :
Create a user with the same uid as username on the host system. You can view the user uid with the id username command.
root@[chrooted_x86]# adduser --disabled-password --uid <id_rom> --gid <gid_rom> username
that in my scenario,it is something like this :
on the guest :
root@devuan:~# id uid=0(root) gid=0(root) gruppi=0(root),5(tty)
on the host :
root@marietto:/usr/home/marietto # id uid=0(root) gid=0(wheel) groups=0(wheel),5(operator)
root@devuan:~# adduser --disabled-password --uid 0 --gid 0 mario
unfortunately I get this error that I don't know how to fix :
adduser: UID 0 is already used.
or maybe it is something like this ?
root@devuan:~# adduser --disabled-password --uid 0 --gid 0 0
adduser: Enter a username that matches the configured regular expression via the NAME_REGEX variable. To avoid this check, use the "--force-badname" option or reconfigure NAME_REGEX.
what do u suggest me to do ? I don't understand what he wants to achieve,how does it should work the trick ?. Please help me.