Re: /bin/bash: Permission denied
-----BEGIN PGP SIGNED MESSAGE-----
On Monday 02 June 2003 14:01, gabriel meier wrote:
> I have some strange Problems with my user login here:
> Any time I log in with any user but root I get the following message:
> Cannot execute /bin/bash: Permission denied
> So login is possible at the moment only for root.
> I checked all the user rights of / /bin /bin/bash and its dependend libs
> and they were OK. etc/passwd is OK, too.
> This error occures with any shell I have, so it can't be a problem with
> bash itself.
> I would be greatful for every idea you have.
Log in as root than type:
now follow the output of the system call on your screen, when you see the
program is waiting for something, (after a read system call), it's time to
enter the username and the same for the password. Strace reviels which files
are opened and when you are returned to you shell check the last output and
go back until you see something like permission denied.
Elie De Brauwer
BSD is for Unix lover
Linux is for windows haters,
I run Linux
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
-----END PGP SIGNATURE-----