Re: help, I hosed my PAM setup (I think)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2003-07-31 at 23:41, Jim Cromie wrote:
> Arindam Dey wrote:
> 
> >On Thu, 2003-07-31 at 16:15, Jim Cromie wrote:
> >  
> >
> >>now Im unable to login with my regular username, or to su - to it
> >>
> >>[root@xxxxxxx pam.d]# su - jimc
> >>Segmentation fault
> >>[root@xxxxxxx pam.d]# su jimc
> >>Segmentation fault
> >>[root@xxxxxxx pam.d]#
> >>
> >>the segfault happens when su-ing from joe to bob,
> >>
> >>Also - on the X session still running there, where previously opened
> >>'joeuser' windows are present, the bash prompt changed to
> >>"[I have no name!@xxxxxxx]",  and xterm title now shows 500, my userid
> >>from  /etc/passwd (which is dated 4/13, so presumably un-mangled).
> >>    
> >>
> >
> >chown 644 /etc/passwd should resolve your I have no name prompt to
> >normal again. I think then you may find that most of your stuff is back
> >to normal. Try this out.
> >
> >  
> >
> damn, youre good !
> 
> I chmod'd it (to match passwd-, BTW), new windows open with joe-user, su 
> works.
> 
> thanks !
> 
> have you been there before ?   Any guess how passwd got 600'd ?   Part 
> of the rpm -i --force ?

Nah not good just had faced the same problem earlier myself and was able
to find the solution nothing else. When you pointed samba to use the
/etc/passwd file then it changed the file permissions. Last time I was
also messing around with samba when this exact thing happened to me
also. But then I do not know exactly why this happens did not have the
time to diagnose it if you can find out why this happens do tell me also
I would like to know.

-- 
Arindam Dey

The mind is not a vessel to be filled
but a fire to be kindled.

GPG FPR: B8E3 219E F129 F970 F4A7  BC50 9636 504A BEDF 5739


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux