[Bug 202268] [jail] able to log in as root without typing the password.FreeBSD 10.1-RELEASE #0 r274401

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 3 00:11:59 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202268

Jamie Gritton <jamie at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamie at FreeBSD.org

--- Comment #6 from Jamie Gritton <jamie at FreeBSD.org> ---
This behavior seems normal and expected to me.  I also tried repeatedly
pressing ctrl-\ during a no-jails boot, and it gave me the single-user shell
prompt.  So this isn't just a jail situation.

A simple glance at /etc/rc shows it's the desired behavior; look at the
beginning of /etc/rc:

| # Set shell to ignore SIGINT (2), but not children;
| # shell catches SIGQUIT (3) and returns to single user.
| #
| trap : 2
| trap "echo 'Boot interrupted'; exit 1" 3

So not only is this just what the trap command did, it's exactly what the
comment said it would do, as noted in base r130161.

Am I missing something, or should I just close this?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-jail mailing list