Date: Mon, 27 Feb 2017 15:34:34 -0500 From: "Karl Vogel" <vogelke@pobox.com> To: freebsd-questions@freebsd.org Subject: Re: home directory overridden by root? Message-ID: <20170227203434.GA20118@bsd118.wpafb.af.mil> In-Reply-To: <34847.128.135.52.6.1488209151.squirrel@cosmo.uchicago.edu> References: <B9C3096B-970E-468D-9316-9E650BAEC448@gmail.com> <20170227111307.5441830c@kalimero.tijl.coosemans.org> <F7C92D16-BEF9-4BA3-9F4E-CB5702D5069F@gmail.com> <20170227145725.81ca3555a2fbfa472fa3e6a6@sohara.org> <34847.128.135.52.6.1488209151.squirrel@cosmo.uchicago.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
>> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170227203434.GA20118>
