RE: Users unknown in jail, what to do?



Hi Gabor,

Did you install the jail following the instructions of the man page ? Which
version of FBSD are you running ? Assuming that u are running the jail
command from root, you don't have to specify the user.

Regards,
Ruben

-----Original Message-----
From: owner-freebsd-questions@xxxxxxxxxxx
[mailto:owner-freebsd-questions@xxxxxxxxxxx] On Behalf Of Kövesdán Gábor
Sent: December 30, 2005 10:36 PM
To: freebsd-questions@xxxxxxxxxxx
Subject: Users unknown in jail, what to do?

Hello,

I've set up a jail and started it with:

jail -u root /path/to/jail hostname ip /bin/sh

When I tried to install a port inside the jail I got an error message
that I don't have the mtree files. I don't know why those files haven't
been built but I copied it from the host system to the jail. Now I get:

mtree: line 6: unknown user root
*** Error code 1

I copied passwd, master.passwd, group, nsswitch.conf files, too, but I
get the same. Could somebody tell me how can I solve this?

Thanks in advance,

Gabor Kovesdan
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005


_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • RE: Users unknown in jail, what to do?
    ... install your "base" tools first, ... on and replicate whenever you need a new jail, and save you a lot of time. ... Subject: Re: Users unknown in jail, ... No virus found in this incoming message. ...
    (freebsd-questions)
  • Jailed Apache1.3, processes wont die
    ... I'm using a standard install of FreeBSD 6.0-RELEASE. ... I have a minimal jail, configured in the usual manner (a minimal install ... # apachectl restart ... the restart die by themselves in the usual way (when 'consumed' by an ...
    (freebsd-questions)
  • Re: Jails
    ... > My questions are realating to a recent dev install I did with FreeBSD 5.1 ... > The jail was setup on a fresh install, with no other ports or mods ... > automaticaly built for the jail? ... > Q2, When one installs new things to the main server, how do you add them to ...
    (freebsd-questions)
  • Re: Jail Questions
    ... or do I need a CD to be able to install packages. ... Sysinstall is just a program. ... and the stuff to install inside the jail and run it there. ...
    (comp.unix.bsd.freebsd.misc)
  • make world inside a jail
    ... install -fschg - because setting the schg flag inside a jail is permitted. ... But I got now once more stuck because of -fschg was hardcoded: ...
    (freebsd-current)