mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* OT: Authentication question...
@ 2002-08-06  4:48 Ivan Gyurdiev
  0 siblings, 0 replies; only message in thread
From: Ivan Gyurdiev @ 2002-08-06  4:48 UTC (permalink / raw)
  To: LKML

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...

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-07  4:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-06  4:48 OT: Authentication question Ivan Gyurdiev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®