Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2014 15:51:37 +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:  <20140803135137.GA67311@slackbox.erewhon.home>
In-Reply-To: <53DE32A3.3010606@hiwaay.net>
References:  <53DD742F.3020408@hiwaay.net> <20140803014039.75f4b2f9.freebsd@edvax.de> <53DD7AAD.4000902@hiwaay.net> <20140803020106.9696cf18.freebsd@edvax.de> <53DE32A3.3010606@hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140803135137.GA67311>