You are not logged in.

#1 2007-12-16 21:10:46

pheaver
Member
Registered: 2007-12-16
Posts: 3

/bin/bash: permission denied

Hello, I am no Newbie to Linux, but this problem is so basic that I am posting here.

Note that I am running Arch inside a Parallels VM on top of Windows, but I highly doubt this is the problem.

I installed Archlinux yesterday, upgraded with 'pacman -Syu', and have been using it with no problems.  Then, all of a sudden my main user cannot login:

/bin/bash: Permission denied

Here's what I have observed:
* I can login as root, but no other users
* If I create a new user, it cannot login either (same error message)
* I get the same error message whether I login directly or try to 'su' from root
* /bin and all executables in it have the right permissions, the same as they were immediately after installation (rwxr-xr-x)
* Changing the shell for the user does not help (I have tried /bin/bash and /bin/zsh)

Here are a few things I did before the error started:
* Installed kde, amarok, and k3b
* Rebooted the VM because the keyboard froze

EDIT: it's not a problem with /etc/group

EDIT: I forgot to mention one more thing.  I checked /var/log/auth.log and found this:

Dec 16 13:06:05 arch login[3117]: pam_unix(login:session): session closed for user pweaver
Dec 16 13:06:13 arch login[3681]: pam_unix(login:auth): check pass; user unknown
Dec 16 13:06:13 arch login[3681]: pam_unix(login:auth): authentication failure; logname=LOGIN uid=0 euid=0 tty=vc/1 ruser= rhost=
Dec 16 13:06:13 arch login[3681]: pam_tally(login:auth): pam_get_uid; no such user
Dec 16 13:06:16 arch login[3681]: FAILED LOGIN (1) on 'vc/1' FOR `UNKNOWN', User not known to the underlying authentication module

There is indeed a 'pweaver' user in /etc/passwd, so I don't know why the user is 'unknown'.

Last edited by pheaver (2007-12-17 02:16:25)

Offline

#2 2007-12-20 02:40:38

_adam_
Member
From: Dora, Alabama
Registered: 2006-05-18
Posts: 94

Re: /bin/bash: permission denied

It's a shot in the dark, but whats the permissions on /lib/ld-2.7.so?

Offline

#3 2007-12-20 02:49:52

pheaver
Member
Registered: 2007-12-16
Posts: 3

Re: /bin/bash: permission denied

Too late, I wiped the VM and started over, oh well smile

Offline

#4 2007-12-21 00:53:42

filoktetes
Member
From: Skien, Norway
Registered: 2003-12-29
Posts: 287

Re: /bin/bash: permission denied

I think I can guess the cause of your problem (although it's not your problem anymore). I think you had /home on it's own partition, but for some reason it wasn't mounted during boot. Probably something wrong in /etc/fstab.

It's just a guess, but easily tested. When I'm finished with this X session I'll try to log into my user without the /home mounted smile

Offline

#5 2007-12-21 00:55:23

pheaver
Member
Registered: 2007-12-16
Posts: 3

Re: /bin/bash: permission denied

No, filoktetes, that was not the problem.

Offline

Board footer

Powered by FluxBB