permission problems w/ ordinary user ....

Roland Smith rsmith at
Sun Aug 3 13:51:47 UTC 2014

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().
> I eventually noticed that the default ~/.login_conf had an entry, 
> commented out. I uncommented it, reset the perms, logged in & out 
> 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 :-) ....

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

[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 5753 3324 1661 B0FE 8D93  FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <>

More information about the freebsd-questions mailing list