Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Feb 2017 15:22:23 -0800
From:      Paul Beard <paulbeard@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   home directory overridden by root? 
Message-ID:  <B9C3096B-970E-468D-9316-9E650BAEC448@gmail.com>

next in thread | raw e-mail | index | archive | help
For some reason my home directory reverts to/is confused with /root. I =
login, get dropped at home, but cd will take me to /root and any command =
I run assumes I am in root=E2=80=99s (non-writable) home. How can I fix =
that? I can=E2=80=99t quite make out what=E2=80=99s wrong.=20

FreeBSD www 10.3-STABLE FreeBSD 10.3-STABLE #0 r312644: Sun Jan 22 =
11:36:16 PST 2017     root@www:/usr/obj/usr/src/sys/SHUTTLE  i386

ssh www
[successful login]
[paul@www /home/paul]$ whoami
paul
[paul@www /home/paul]$ id
uid=3D1001(paul) gid=3D1001(paul) groups=3D1001(paul),0(wheel)
[paul@www /home/paul]$ cd=20
[paul@www ~]$ pwd
/root
[paul@www ~]$ sudo grep paul /etc/master.passwd=20
Password:
paul:[redacted]:1001:1001::0:0:paul:/home/paul:/usr/local/bin/bash
[paul@www ~]$=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9C3096B-970E-468D-9316-9E650BAEC448>