Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Mar 2015 18:23:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 198169] Creating jail corrupts /etc/passwd
Message-ID:  <bug-198169-8-wEU5vEiOAz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-198169-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-198169-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198169

Gary <freebsd-bugzilla@in-addr.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freebsd-bugzilla@in-addr.co
                   |                            |m

--- Comment #1 from Gary <freebsd-bugzilla@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198169-8-wEU5vEiOAz>