Cannot execute /bin/bash: Permission denied
strace of su shows this:
execve("/bin/bash", ["-su"], [8 vars]) = -1 EACCES (Permission denied)
The file appears to be okay, as far as modes are concerned, and it runs
perfectly as root.
-rwxr-xr-x 1 root bin 279352 Apr 1 06:20 /bin/bash*
I've tried logging in as other users with different shells, and they all
report the same error. When this happened, I was lucky enough to have a
non-root shell logged in, and I was unable to run any programs their
either. The setup has run flawlessly for the last 10 days since it was
installed.
My setup(should it matter):
Intel 486dx33, 8meg RAM, 420meg disk
Slackware 3.2, libc-5.4.36
ld.so-1.9.2, bash 1.14.7(1)
Linux grunge 2.0.31 #1 Thu Aug 21 10:35:57 EST 1997 i486 unknown
Compiled with gcc version 2.7.2.2
While I'm mailing, I might also point out an apparent bug in the sound
driver (possibly). Whenever I try and open /dev/dsp, either with wavplay,
or even from a shell prompt, I get an error "/dev/dsp: Out of memory",
along with "Sound error: Couldn't allocate DMA buffer", in syslog. Again,
strace shows:
open("/dev/dsp", O_RDWR|O_NONBLOCK) = -1 ENOMEM (Out of memory)
>From /dev/sndstat:
Sound Driver:3.5.4-960630
Installed drivers:
Type 2: Sound Blaster
Type 7: SB MPU-401
Card config:
Sound Blaster at 0x220 irq 7 drq 1,5
(SB MPU-401 at 0x330 irq 7 drq 0)
Audio devices:
0: Sound Blaster (2.1)
Hopefully someone may be able to shed some light on these problems.
Davey