LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem when logging as a user (permission denied) (https://www.linuxquestions.org/questions/linux-newbie-8/problem-when-logging-as-a-user-permission-denied-177084/)

Dartelin 05-02-2004 05:15 PM

Problem when logging as a user (permission denied)
 
I have istalled the ati drivers for my radeon 9100. Everything went well but when i try to login as a user the KDE restarts. When i try to log in shell as Dartelin (this is my user name) then following error appears:
Code:

bash-2.05b# su Dartelin
Cannot execute
/bin/bash: Permission denied bash-2.05b#

I believe the drivers are the cause but i am not sure in 100%. I run under Slackware 9.1, kernel 2.6.5.

Tinkster 05-02-2004 07:26 PM

I'm not sure what the ATI drivers touch (I just use
the plain ones from XFree) ...

Have a look at
ls -l /bin/bash ... if the permissions on that are fine,
check out
ldd /bin/bash | cut -d" " -f 3 | xargs ls -lL

If those are fine, do a subsequent ldd on the
libraries displayed by the previous command,
and so forth 'til you've hunted down the culprit :}

Wrong permissions on system libraries are a
bastard to find ;)


Cheers,
Tink

Dartelin 05-03-2004 04:58 AM

Code:

bash-2.05b# ls -l /bin/bash
-rwxr-xr-x        1 root    bin        628640 Jun 24  2003 /bin/bash
bash-2.05b# ldd /bin/bash | cut -d" " -f 3 | xargs ls -lL
-rwxr-xr-x        1 root    root      699071 May 19  2003 /lib/ld-linux.so.2
-rwxr-xr-x        1 root    root      1458907 May 19  2003 /lib/libc.so.6
-rwxr-xr-x        1 root    root        11885 May 19  2003 /lib/libdl.so.2
-rwxr-xr-x        1 root    root        11008 Sep 17  2003 /lib/libtermcap.so.2

I dont know if there is something wrong. Please tell me whan should i do step by step.

ekman 05-03-2004 12:15 PM

Hello,
Check also the script files that bash runs on login, e.g ~/.bashrc. Check the man
page for more.
Try to rename them temorary just for testing.
/L Ekman


All times are GMT -5. The time now is 11:17 PM.