Re: suddenly only root can login -- ANSWER
I found the solution in a posting to lkml from 1998.
Somehow the permissions on the / directory had changed
to: rwxr-x---
They need to be: rwxr-xr-x
Any ideas on what would cause the permissions on the /
directory to spontaneously change?
The system is behind a firewall w/few services exposed
to the internet and there are only two people w/ shell
access. If it were done manually, the system would
have had to have been cracked, which seems unlikely.
Thanks,
Richard
--- Richard Weil <rcweil@yahoo.com> wrote:
> I checked the files in /etc/pam.d and nothing looks
> out of the ordinary. Is there anything in particular
> to look for?
>
> I thought it was a pam problem too, and I saw there
> was bug filed against the pam in testing, so I
> installed as part of this problem solving process
> the
> following three files from unstable:
>
> libpam-runtime
> libpam0g
> libpam-modules
>
> For all of the packages I alse did dpkg-reconfigure,
> but there were no questions asked.
>
> Richard
>
>
> --- Thomas Adam <thomas_adam16@yahoo.com> wrote:
> > --- Richard Weil <rcweil@yahoo.com> wrote:
> >
> > > I'm running sarge on a fairly reliable machine.
> > Today,
> > > for some reason, no one but root can log on to
> the
> > > machine. All of the users are still on the
> system.
> > > Once logged into the system as root, it is
> > impossible
> > > to su to one of the users. Also, none of the
> users
> > who
> > > access the system via samba can logon either.
> >
> > Sounds like a PAM issue to me. Check /etc/pam.d/*
> >
> > -- Thomas Adam
> >
> > =====
> > "The Linux Weekend Mechanic" --
> > http://linuxgazette.net
> > "TAG Editor" --
> > http://linuxgazette.net
> >
> > "<shrug> We'll just save up your sins, Thomas, and
> > punish
> > you for all of them at once when you get better.
> The
> >
> > experience will probably kill you. :)"
> >
> > -- Benjamin A. Okopnik (Linux Gazette Technical
> > Editor)
> >
> >
> >
> >
> >
> > Chat instantly with your online friends? Get the
> > FREE Yahoo! Messenger
> http://uk.messenger.yahoo.com/
> >
> >
> > --
> > To UNSUBSCRIBE, email to
> > debian-user-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org
> >
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Movies - Buy advance tickets for 'Shrek 2'
>
http://movies.yahoo.com/showtimes/movie?mid=1808405861
>
>
>
> --
> To UNSUBSCRIBE, email to
> debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
__________________________________
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861
Reply to: