From owner-freebsd-questions@freebsd.org Mon Feb 27 20:34:53 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2988ECF045F for ; Mon, 27 Feb 2017 20:34:53 +0000 (UTC) (envelope-from prvs=1224479854=vogelke@pobox.com) Received: from SCOTT-MAIL8.AFNOC.AF.MIL (scott-mail8.afnoc.af.mil [131.9.253.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Scott-Mail8.afnoc.af.mil", Issuer "DOD ID SW CA-38" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AB648DFE for ; Mon, 27 Feb 2017 20:34:51 +0000 (UTC) (envelope-from prvs=1224479854=vogelke@pobox.com) Received-PRA: neutral (us.af.mil: 131.9.254.132 is neither permitted nor denied by domain of pobox.com) client-ip=131.9.254.132; envelope-from=vogelke@pobox.com; helo=us.af.mil; Received-SPF: neutral (us.af.mil: 131.9.254.132 is neither permitted nor denied by domain of pobox.com) client-ip=131.9.254.132; envelope-from=vogelke@pobox.com; helo=us.af.mil; Received: from us.af.mil (unknown [131.9.254.132]) by SCOTT-MAIL8.AFNOC.AF.MIL with smtp (TLS: TLSv1/SSLv3,256bits,DHE-RSA-AES256-SHA) id 0638_1868_a6d4b177_e9eb_4bf8_b45b_5a9a25ea3e3f; Mon, 27 Feb 2017 20:34:41 +0000 Received: from ([131.9.40.227]) by 52vejx-mr-001.us.af.mil with SMTP id FZY0FN1.275694904; Mon, 27 Feb 2017 14:34:35 -0600 Received: (qmail 20790 invoked by uid 100); 27 Feb 2017 20:34:35 -0000 From: "Karl Vogel" Date: Mon, 27 Feb 2017 15:34:34 -0500 To: freebsd-questions@freebsd.org Subject: Re: home directory overridden by root? Message-ID: <20170227203434.GA20118@bsd118.wpafb.af.mil> Reply-To: vogelke+unix@pobox.com References: <20170227111307.5441830c@kalimero.tijl.coosemans.org> <20170227145725.81ca3555a2fbfa472fa3e6a6@sohara.org> <34847.128.135.52.6.1488209151.squirrel@cosmo.uchicago.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <34847.128.135.52.6.1488209151.squirrel@cosmo.uchicago.edu> User-Agent: Mutt/1.6.0 (2016-04-01) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2017 20:34:53 -0000 >> On Mon, Feb 27, 2017 at 09:25:51AM -0600, Valeri Galtsev wrote: V> Alternatively, there just could have been typo on command line when you V> were creating "defunct" account. [...] I agree, creating one more account V> will give you additional information in figuring out what's wrong. If creating another account doesn't show the problem, here's a quick and really dirty way to see what's happening. If your login shell is /usr/local/bin/bash, change it to /usr/local/bin/mybash where mybash holds something like this (assuming you have /bin/truss): #!/bin/sh exec /bin/truss -o /tmp/mybash.$$ /usr/local/bin/bash exit 1 Login, exit, fix your shell, login again, and look for any "open" calls in the truss output. HTH. -- Karl Vogel I don't speak for the USAF or my company A dog teaches a boy fidelity, perseverance, and to turn around three times before lying down. --Robert Benchley