permission problems w/ ordinary user ....

William A. Mahaffey III wam at hiwaay.net
Sun Aug 3 14:03:37 UTC 2014


On 08/03/14 08:51, Roland Smith wrote:
> 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
> want...
>
> Roland


Yeah, I reset it to 'en_EN' .... uncommenting that entry did seem to fix 
my problem, but who knows ....


-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.



More information about the freebsd-questions mailing list