From owner-freebsd-questions@freebsd.org Sun Feb 26 23:22:26 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 A359ACEE957 for ; Sun, 26 Feb 2017 23:22:26 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-pg0-x232.google.com (mail-pg0-x232.google.com [IPv6:2607:f8b0:400e:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 75659F66 for ; Sun, 26 Feb 2017 23:22:26 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mail-pg0-x232.google.com with SMTP id b129so35516525pgc.2 for ; Sun, 26 Feb 2017 15:22:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=j5x+NOCXr4XuP42fh3Ed3Fuaaw6/E+cZ/Mn6cLtPbbE=; b=VR3mQlW2swy/8GEyhJMJK3CAKL5p7VGQd4jtg3MlFxo7LYMgUvyvvc2nDY+eNkY3/C d84VXaWKLvW37Ba8nBbFYfasOwoCKl/TLKjsqPSeVKecCN6L6OIGxv4MmLHhNTE6rlO9 DvEc5bplBI59nuFNZqBb2HxnDEJMnbIKY6H4nBbi/EtBoTs4t54mBdtbSYICNO2cNUmL Vso/p12qKi/E/msTj9VP9CpCifkXNr14+redRxBQEz2liyHnmNGV/Fw0reCHJYbmHxms 9aUK4MdiarbeUf8KzqSmaIdb7hLsEg6RLf8OkHfj72I+NvjyTQ5IhbY/VkfIuCudbZsw ZMuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=j5x+NOCXr4XuP42fh3Ed3Fuaaw6/E+cZ/Mn6cLtPbbE=; b=meSkdqDYsoBsqoJwrIglQYYHsULqKDMxMkDkl3ZJMWO2M6gI2JPSAoYUBlB4Z5/cvN G+YAfJnpqiRGOpF4IjKeY7YkRpVUq7Mmsw/48u75pxCC2j3EKiThkI7DFcW/tlLN6b4k +Jh0787s179MJkuiLzKZyzO716MHPHPSeCltnI98GRjCCGKjzut9Yuu6zqbLz5e4TT7F OBWEYlVl6EyJv9R5Cqhyfln+h/3MtFxYaTGpjtAxL6bf1f4/KDsJcsGXpY/q3RcCcUcn rz2dPrpiekUsbjHDogHltCcSk82ruRWwM6b1/jGtpLPad2AFik0RXndNf3Fj4/B4c3TB 1klw== X-Gm-Message-State: AMke39nSU4tv6A5K28m77sjQjWuV2WeL3UnDf2IXyhfpLAr4L1L2NfFgl5gmL9cL6TUtgQ== X-Received: by 10.99.1.20 with SMTP id 20mr17611721pgb.53.1488151345724; Sun, 26 Feb 2017 15:22:25 -0800 (PST) Received: from argent.paulbeard.org (c-24-18-188-176.hsd1.wa.comcast.net. [24.18.188.176]) by smtp.gmail.com with ESMTPSA id n79sm26416912pfj.31.2017.02.26.15.22.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Feb 2017 15:22:24 -0800 (PST) From: Paul Beard Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: home directory overridden by root? Message-Id: Date: Sun, 26 Feb 2017 15:22:23 -0800 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3259) 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: Sun, 26 Feb 2017 23:22:26 -0000 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