Re: [nottingham] Redhat PAM issue suggestion

From: Nathan (na7h@barrysworld.com)
Date: Fri 05 Apr 2002 - 21:09:19 BST


Matthew Sackman wrote:

>On Fri, Apr 05, 2002 at 08:21:48PM +0100, Matthew Sackman wrote:
>
>>On Fri, Apr 05, 2002 at 06:35:46PM +0100, Nathan wrote:
>>
>>>>Does your login have the correct parameters? On my Debian system, login
>>>>is SUID root.
>>>>
>>>[root@celia bin]# stat login
>>> File: "login"
>>> Size: 17740 Blocks: 40 IO Block: 4096 Regular File
>>>Device: 302h/770d Inode: 635552 Links: 1
>>>Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
>>>Access: Fri Apr 5 18:25:42 2002
>>>Modify: Sun Aug 26 23:51:37 2001
>>>Change: Thu Jan 10 14:39:31 200
>>>
>
>Hmm. Your login looks rather small to me: mine (debian woody) is 35148,
>openBSD is 24576, hurd is 21244, and the smallest I can find is 19868.
>Have you had any filesystem problems? Try downloading a fresh rpm, mv
>the login to another name and then install the rpm. Though really, if the
>filesystem is dying it'd be more a segfault than this error message.
>
>If you're going to reinstall anyway, this may well be a good moment (after
>checking your hds for consistency!).
>
>Matthew
>
I have had some problems with X crashing when restarting, and i have to
confess to not checking the fs on reboot once or twice(i have a feeling
when i booted last, it was after X crashed, and i seem to remember not
checking the FS, because it had crashed about 20mins before, and i'd let
it do so then). However i've never seen any problems. I moved login,
then installed redhat's system utilities RPM. The new login makes no
differance - It gives the same result exactly.

And it's not much bigger than the old login, so i don't think there's
anything iffy there.
[root@celia root]# stat /bin/login
  File: "/bin/login"
  Size: 18572 Blocks: 40 IO Block: 4096 Regular File
Device: 302h/770d Inode: 635551 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: Tue Dec 4 23:55:10 2001
Modify: Tue Dec 4 23:55:10 2001
Change: Fri Apr 5 20:59:38 2002

I tried setting +s (on the old login), and it made no differance.
I'm on a dialup, i don't have any servers besides X running, and netstat
aggrees with that, so i don't think someone's been in.

--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------



This archive was generated by hypermail 2.1.3 : Fri 05 Apr 2002 - 21:11:06 BST