[Bug 198169] Creating jail corrupts /etc/passwd
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Mar 2 18:23:42 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198169
Gary <freebsd-bugzilla at in-addr.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |freebsd-bugzilla at in-addr.co
| |m
--- Comment #1 from Gary <freebsd-bugzilla at in-addr.com> ---
(In reply to hbowden from comment #0)
Your shell syntax is wrong
If you run
setenv D /usr/home/nah/jail
in a /bin/sh shell on it's own you get
# setenv D /usr/home/nah/jail
setenv: not found
#
The correct syntax would be something like
D=/usr/home/nah/jail
e.g.
# D=/usr/home/nah/jail
# echo $D
/usr/home/nah/jail
#
What you did was you didn't have a value for D so you overwrote your existing
installation with your make buildworld/installworld/distribution
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list