[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-arch
Subject: Re: Setting the jail identifier from /etc/rc.conf
From: Ed Schouten <ed () 80386 ! nl>
Date: 2009-10-22 12:08:16
Message-ID: 20091022120816.GK1293 () hoeg ! nl
[Download RAW message or body]
Hi Dag-Erling,
* Dag-Erling Smørgrav <des@des.no> wrote:
> on the command line). There is no rc.conf variable for it, but you can
> add "-n foo" to jail_foo_flags.
Well, good enough I guess.
I solved the entire getty thing by doing the following. I'm running a
jail called small.80386.nl, which is a temporary install I had, to see
what happens if you enable a lot of WITHOUT_* flags.
/etc/devfs.rules:
| [small_80386_nl=5]
| add include $devfsrules_hide_all
| add include $devfsrules_unhide_basic
| add include $devfsrules_unhide_login
| add path ttyv8 unhide
/etc/rc.conf:
| jail_small_flags="-l -U root -n small_80386_nl"
| jail_small_devfs_ruleset="small_80386_nl"
/etc/ttys:
| ttyv8 "/usr/sbin/jexec small_80386_nl /usr/libexec/getty Pc" cons25 on secure
--
Ed Schouten <ed@80386.nl>
WWW: http://80386.nl/
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic