OT: Authentication question...

From: Ivan Gyurdiev (ivangurdiev@attbi.com)
Date: Mon Aug 05 2002 - 23:48:07 EST


This is off-topic, but since people on this list
are so much better educated than myself on Linux issues,
I thought I could seek help.

My system will reject any attempt
to login as a user other than root:

[root@cobra root]# su phantom
could not open session
[root@cobra root]# su ftp
could not open session
[root@cobra root]# su lp
could not open session
[root@cobra root]# su root
[root@cobra root]#

An strace showed the following notable difference between a working backup
system and the broken one:

Broken:
setfsuid32(0x1f4) = 0
setfsgid32(0x1f4) = 0
open("/etc/passwd", O_RDONLY) = -1 EACCES (Permission denied)

Working:
setfsuid32(0x1f4) = 0
setfsgid32(0x1f4) = 0
open("/etc/passwd", O_RDONLY) = 3

Which makes me very confused, since /etc/passwd is a world-readable file.
Any ideas what could be the problem?
 
Thank you for any help in advance...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:34 EST