Re: Weird problem: normal user can't run bash in login
Lorens Kockum wrote:
>
> In debian-user Ed wrote:
> >
> > No. Remember, the login process has already started, the user ('ed') has
> >already gotten a tty, the system has printed to it (for example to tell him
> >he has no mail), only when it tries to exec the default shell does the error
> >occur. I can't see how tty access could cause this.
> >
>
> As always, take the error message. In 99% of case the error
> message accurately reflects the problem.
>
> The error message is "cannot execute /bin/bash".
>
> You said you checked the permissions on /bin and on /bin/bash.
>
> Did you also check the permissions on / ? That often happens
> on newly-installed systems; it's caused by inconsiderate
> decompression of inconsiderate tarfiles in /tmp. On all dynamic
> libraries linked to bash and their parent directories ? While
> you're at it (should not be this), also check /tmp and ~ed.
>
> If it was somewhere else than in /bin. I'd also say to check
> "noexec" mount option to the filesystem, but I think you'd have
> had problems before that :-)
>
> If this fails, try su-ing to ed, maybe that will bring up
> additional data.
>
I tried the things you mentioned. su'ing to ed resulted in identical error
message (Permission denied), but no additional error messages. I mounted
root under other dir but nothing wrong with permissions. I finally solved
the problem with the brute force method: a clean reinstall with deb 2.0. I
copied all important stuff to other partition, so reinstall wasn't to
painful. Still, I wish I knew enough to figure out that problem.
Thanks for your help anyway.
--
Ed
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: