From owner-freebsd-questions@FreeBSD.ORG Sun Aug 3 13:51:47 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 512969DE for ; Sun, 3 Aug 2014 13:51:47 +0000 (UTC) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) (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 DDB602077 for ; Sun, 3 Aug 2014 13:51:46 +0000 (UTC) Received: from slackbox.erewhon.home (slackbox.xs4all.nl [83.162.243.5]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id s73Dpbbn036399; Sun, 3 Aug 2014 15:51:37 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.home (Postfix, from userid 1001) id 0F439123BB; Sun, 3 Aug 2014 15:51:37 +0200 (CEST) Date: Sun, 3 Aug 2014 15:51:37 +0200 From: Roland Smith To: "William A. Mahaffey III" Subject: Re: permission problems w/ ordinary user .... Message-ID: <20140803135137.GA67311@slackbox.erewhon.home> Mail-Followup-To: "William A. Mahaffey III" , FreeBSD Questions !!!! References: <53DD742F.3020408@hiwaay.net> <20140803014039.75f4b2f9.freebsd@edvax.de> <53DD7AAD.4000902@hiwaay.net> <20140803020106.9696cf18.freebsd@edvax.de> <53DE32A3.3010606@hiwaay.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: <53DE32A3.3010606@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: Sun, 03 Aug 2014 13:51:47 -0000 --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 03, 2014 at 08:01:23AM -0500, William A. Mahaffey III wrote: > >> I have reset the perms as root several times during > >> this exercise, & they keep getting unset after the login failure .... > > I'm not sure what part of the system could trigger that behavuiour, > > it just sounds totally wrong... > > > > However, you could run truss on an login attempt to see what > > the process does (invisibly), calling /bin/chmod via execve() > > or by chmod() or popen(). >=20 >=20 > I eventually noticed that the default ~/.login_conf had an entry,=20 > commented out. I uncommented it, reset the perms, logged in & out=20 > several times, & everything went AOK. If you aren't using it, you can delete ~/.login_conf, then you'll get the default from /etc/login.conf. > Noob observation: that entry should be uncommented from the factory :-) .= =2E.. I don't think so. The settings in ~/.login_conf are an override to those in /etc/login.conf, so it shouldn't matter if it's empty. And this example (which comes from /usr/share/skel/dot.login_conf) sets your charset to iso-8859-1 and language to German. That might not be what you want... 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) --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJT3j5oAAoJEED21dyjijPgD8IQAIbYHgxsr1/ymLXafbBv3TAY boT2HOpxLCg/M6sRpXn5NhvUE6quMudpeGsvLUFzVSrUiz3CNKr27aWTqvJgfVhF wmUhaPFf2hbRx//3nTLgA2M/4NtB9QpT6XMWQO/E53MKIl9vM6e0bnsaqfZYhOw+ k/1Jc7SJMWeMmFYeYlCBdu/W1BsQamxf/DhIUtgD6VoLLKYoiScfGZMzlTcVVZNM CEluM61dsdkFbUUVb81f2dVX2OVNPqbA5tySteimvSSK0kdSoQWNcvd7alcB1Jfk rZD+txvZUj7QZUtGrpV93160mslyXICl1BR84y73YTX/L6myeCjp/Bho5973bIR+ bmJdexl4Kk1LO/aiIIZ5W0CdIA81Fa8MHxlb/hjFg1J8wcU5OlCPHdQqabaUdLZf clEsCyHyMdryie2anqDA8Wq2pzn96/9RKmxLpG98bCd0/o5Wk5ac15MZTqC/Y2RY RJTdS+8BrlljJRr5Rxp0KWyVQzOQZd6yRvYGBmoucQPhuXHZhELA0fvJd7pn5Nzz GVaLMT0TDmhrmzqJhZ/o0NbD5Qb8mT04Qc6fcInbSvV62T63EBtM/kqDZWMrXgtE fb6jgtY8Q8+OV9A3MitF8OD3+VyOnvMMfCXO/RUgXkgXu/IChvHLGIuJt89oj2p+ sJoPOPjssVB/jwnQA1j5 =FG7T -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND--