home directory overridden by root?

Karl Vogel vogelke at pobox.com
Mon Feb 27 20:34:53 UTC 2017

>> 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):

     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

More information about the freebsd-questions mailing list