[Bug 207587] jexec defaults to using "-u User"

2016-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207587

Benedict Reuschling  changed:

   What|Removed |Added

 Status|New |Closed
 CC||b...@freebsd.org
 Resolution|--- |FIXED

--- Comment #3 from Benedict Reuschling  ---
Patch committed, MFC done. Thanks for sending in the PR. Closed!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-doc@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "freebsd-doc-unsubscr...@freebsd.org"


[Bug 207587] jexec defaults to using "-u User"

2016-04-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207587

--- Comment #1 from commit-h...@freebsd.org ---
A commit references this bug:

Author: bcr
Date: Sat Apr 23 22:31:59 UTC 2016
New revision: 298524
URL: https://svnweb.freebsd.org/changeset/base/298524

Log:
  Define which of the username options (-u/-U) to jexec(8) is the default.
  Bump Dd.

  PR:   207587
  Submitted by: dewa...@heuristicsystems.com.au
  MFC after:3 days
  Sponsored by: Essen Hackathon 2016

Changes:
  head/usr.sbin/jexec/jexec.8

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-doc@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "freebsd-doc-unsubscr...@freebsd.org"


[Bug 207587] jexec defaults to using "-u User"

2016-02-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207587

Bug ID: 207587
   Summary: jexec defaults to using "-u User"
   Product: Documentation
   Version: Latest
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Many People
  Priority: ---
 Component: Documentation
  Assignee: freebsd-doc@FreeBSD.org
  Reporter: dewa...@heuristicsystems.com.au

It would avoid confusion if the "man 8 jexec" clearly stated that the base
host's environment was used in the jailed system,

For example: The intent of what is "desired" in the jail is demonstrated in the
path.

# jexec -u root b2 printenv |grep PATH
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
# jexec -U root b2 printenv | grep PATH
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/sbin:/bin:/usr/sbin

Suggestion:
Change
 -u username
 The user name from host environment as whom the command should
 run.
to
 -u username
 The user name from host environment as whom the command should
 run.  This is the default.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-doc@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "freebsd-doc-unsubscr...@freebsd.org"