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

Jamie Gritton <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Status|New                         |In Progress
           Assignee|[email protected]    |[email protected]

--- Comment #1 from Jamie Gritton <[email protected]> ---
Created attachment 158629
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158629&action=edit
alternate patch, including -l option

I've kept to the spirit of your patch, but reworked it with a few changes. 
Instead of hard-coding a username "root", I default to leaving the environment
along unless a user (or -l) is specified.  In the absence of a specified user,
I run the current environment's shell instead of root's.  I run the shell with
the "-i" argument, as chroot does.

I've also added a "-l" argument for a "clean" environment, same as jail(8)'s
"exec.clean" parameter.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to