All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Puneet B" <puneetb@bonbon.net>
To: linux-newbie@vger.kernel.org
Subject: RE: Cannot login as non-root user
Date: Tue, 15 Jul 2003 16:48:46 -0700	[thread overview]
Message-ID: <CHEKJPMKMAELJLFIBCPLKEDFCAAA.puneetb@bonbon.net> (raw)
In-Reply-To: <20030715.162201.505.419099@webmail10.lax.untd.com>

> On my brother's computer, running Slackware 9.0, we have just recently
> begun experiencing problems signing in as non-root users, either from
> normal login, su, su -, or ssh.  After entering username & password,
> login prints the error "Cannot execute /bin/bash: Permission denied"
> and returns to login prompt. Su & su - from root prints the same error,
> "Cannot execute /bin/bash: Permission denied" and returns to the root
> shell.  Ssh gives "/bin/bash: Permission denied" and connection lost.
> Root can sign in with no problems at all.
> 
> The first thing I did was check the pemissions on /bin/bash, and it
> is executable for everyone: -rwxr-xr-x.  We've also un/reinstalled
> the bash package (we've tried the bash packages from both the
> slackware-9.0 and slackware-current distributions; bash-2.05b-i386-2
> and bash-2.05b-i486-3), with no change.  I've also removed & readded
> the user accounts in /etc/passwd & /etc/shadow, both with vipw and
> userdel/useradd; again with no result.
> 
> We started experiencing this quite suddenly, while we were trying to
> get X setup with 3d acceleration for my brothers ATI Radeon 9500 Pro
> (which is still not working, anyone here have experience?), and I am
> have no idea what started the login problems, because obviously X has
> nothing to do with login, and we really weren't doing anything else.

Check the permissions of / and /bin. These might be set to 700. Could also
be an issue with library permissions (see this:
http://www.linuxgazette.com/issue52/okopnik.html)

Puneet


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs

  reply	other threads:[~2003-07-15 23:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-15 23:21 Cannot login as non-root user beolach
2003-07-15 23:48 ` Puneet B [this message]
2003-07-16  0:30 ` Alan Bort
2003-07-16  2:25 ` Ray Olszewski
2003-07-16  3:01 beolach
2003-07-16  9:49 ` Michael Scottaline

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=CHEKJPMKMAELJLFIBCPLKEDFCAAA.puneetb@bonbon.net \
    --to=puneetb@bonbon.net \
    --cc=linux-newbie@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.