mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ivan Gyurdiev <ivangurdiev@attbi.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: OT: Authentication question...
Date: Tue, 6 Aug 2002 00:48:07 -0400	[thread overview]
Message-ID: <200208060048.07267.ivangurdiev@attbi.com> (raw)

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

                 reply	other threads:[~2002-08-07  4:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200208060048.07267.ivangurdiev@attbi.com \
    --to=ivangurdiev@attbi.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®