Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 3rd November 2013
sysfu sysfu is offline
Port Guard
Join Date: Jun 2008
Posts: 36
Default FreeBSD jail inherited user accounts and env variables

I'm having an issue setting up a FreeBSD jail where the jail is inheriting user accounts from the host. The problem is that the $HOME environment variable for one of the inherited user accounts being overridden by the host value. No changes that I make to the /etc/passwd file in the jail make any difference. This is causing problem because when the user logs in via SSH, the shell cannot be set to the proper home directory.

Does anyone know how to fix or workaround this problem?

Using FreeBSD 9.1.x on FreeNAS.

Update: I noticed that this problem only occurs when creating a jail of type "portsjail". User accounts are not inherited when creating a standard jail.

Last edited by sysfu; 3rd November 2013 at 05:47 PM.
Reply With Quote

freenas, jail, variable

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IPFW and sysctl variables questions unixjingleman FreeBSD Security 1 12th June 2011 03:33 AM
Dereferencing sh variables J65nko Programming 3 29th January 2010 02:34 AM
New FreeBSD user. I need help! rowebil FreeBSD Installation and Upgrading 2 9th March 2009 08:01 PM
Freebsd 7.0 natd problem with jail bsduser FreeBSD Installation and Upgrading 2 26th July 2008 12:40 AM
passing make args/variables to builds of prerequisite ports jbhappy FreeBSD Ports and Packages 2 18th July 2008 02:35 PM

All times are GMT. The time now is 10:21 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick