From owner-freebsd-questions@FreeBSD.ORG Sat Aug 2 23:46:05 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7C1B73BA for ; Sat, 2 Aug 2014 23:46:05 +0000 (UTC) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2E6B52D45 for ; Sat, 2 Aug 2014 23:46:04 +0000 (UTC) Received: from slackbox.erewhon.home (slackbox.xs4all.nl [83.162.243.5]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id s72NjsVd036422; Sun, 3 Aug 2014 01:45:55 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.home (Postfix, from userid 1001) id C5A6B123F1; Sun, 3 Aug 2014 01:45:54 +0200 (CEST) Date: Sun, 3 Aug 2014 01:45:54 +0200 From: Roland Smith To: "William A. Mahaffey III" Subject: Re: permission problems w/ ordinary user .... Message-ID: <20140802234554.GA34503@slackbox.erewhon.home> Mail-Followup-To: "William A. Mahaffey III" , FreeBSD Questions !!!! References: <53DD742F.3020408@hiwaay.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline In-Reply-To: <53DD742F.3020408@hiwaay.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Questions !!!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2014 23:46:05 -0000 --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 02, 2014 at 06:28:47PM -0500, William A. Mahaffey III wrote: >=20 > .... I have been trying to setup the regular user (me, non-root) on my=20 > newly minted FreeBSD 9.3 box. I tried su-ing from tooy & ssh-ing in as=20 > me from another box, both give weird results, see the following from my= =20 > syslog: >=20 >=20 > Aug 2 17:59:03 kabini1 ntpd[676]: ntpd 4.2.4p5-a (1) > Aug 2 17:59:03 kabini1 kernel: . > Aug 2 18:02:16 kabini1 ntpd[677]: time reset -0.337616 s > Aug 2 18:17:11 kabini1 su: _secure_path: cannot stat=20 > /home/wam/.login_conf: Permission denied > Aug 2 18:17:11 kabini1 su: _secure_path: cannot stat=20 > /home/wam/.login_conf: Permission denied That could be a symptom of the x permission disappearing. >=20 > also, the home-directory keeps getting the 'x' permission bit set to off= =20 > by .... something .... To the best of my knowledge there is nothing in the base system that normal= ly does that. But if the x bit _is_ disappearing, then something is doing a chmod(1) or chmod(2). Do you have any scripts or cron jobs running? Or is there a chmod in one of your rc files like ~/.profile, ~/.tcshrc or /etc/csh.cshrc? You could set the user immutable flag or even the system immutable flag on that directory (or remount the partition as read-only) and see if you get a= ny error messages in /var/log/messages. > I can ssh in as root no sweat Yikes. That is usually the first thing I'd disable! Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJT3XgyAAoJEED21dyjijPgX4MQAIxPtrQ/IwcuKA9Kyn4kzkjg /9AS99JBNlNei1fxAfziynXAvjEwPZGuCSfZuXp+IbpqgMSOKsFsIpRbCTY48gn0 OXK5SWq6Av6JvocvOtNQAn58V+jQ9KqqgdjYYpoG35uIri3NXH09xdB8xwr3dGCF 5OIzFIINePnkl45QMgiOd71E2nA6kvOFj2IuM3BfXsnEfc8HWtNjuZfFpgoVJpPh dkj7L6oXbkduNYK8spPT1p07cGJUxFrwb8JYLbt5e/v+ZQCjLcjzbpT3i+0E3TQf /00atvLtrG2sL5TyVpi3poJBg4FNj7Lh1y5MB02u9l4bFSX511yr9kxNYsWt9mEM 3ZxYT7F2eam++ELjQCNQhPocgyxSqxbMZ7Si5L3WZwGSEM8ssW57a3tj/s935e/x vLTCJmezxYphla5LP08VamdcYmcAA26opFRS/q/wkyQYWxQrkTi6iWp5ChJXF8zF HRVGU1kOJZmEqVSnRVRg6Q7T9NY+3A++cjvRmScaNx/XeVNvNqgz6K+nMIqo8EuG BIyW5wKJ6FWFkOixlPf5NzKLGSiHCYRKwEv0kAZDOsEi0MW1u4A6K43ZDWVOxqBc QPRAq3psv5CZb8kx9D+1ibJMOe2vbvmRjk62iTBWHH3fmT9Ji3x0Pksggu5r3Anv lpnoktkb36KKw8dICNUw =WKPi -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx--