Date: Sun, 3 Aug 2014 01:45:54 +0200 From: Roland Smith <rsmith@xs4all.nl> To: "William A. Mahaffey III" <wam@hiwaay.net> Cc: FreeBSD Questions !!!! <freebsd-questions@freebsd.org> Subject: Re: permission problems w/ ordinary user .... Message-ID: <20140802234554.GA34503@slackbox.erewhon.home> In-Reply-To: <53DD742F.3020408@hiwaay.net> References: <53DD742F.3020408@hiwaay.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140802234554.GA34503>