Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-02-2004, 06:15 PM   #1
LQ Newbie
Registered: May 2004
Posts: 19

Rep: Reputation: Disabled
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:
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.
Old 05-02-2004, 08:26 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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 ;)

Old 05-03-2004, 05:58 AM   #3
LQ Newbie
Registered: May 2004
Posts: 19

Original Poster
Rep: Reputation: Disabled
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/ 
-rwxr-xr-x        1 root     root      1458907 May 19  2003 /lib/ 
-rwxr-xr-x        1 root     root        11885 May 19  2003 /lib/ 
-rwxr-xr-x        1 root     root        11008 Sep 17  2003 /lib/
I dont know if there is something wrong. Please tell me whan should i do step by step.
Old 05-03-2004, 01:15 PM   #4
Registered: Apr 2004
Location: Sweden
Posts: 41

Rep: Reputation: 15
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission denied for root user shujja Linux - Newbie 9 10-28-2014 09:32 PM
whatever a non-root user does, he gets 'permission denied'. boazg Linux - Software 2 08-05-2005 09:17 AM
User executing script: bad interpreter: Permission denied stefaandk Linux - Newbie 7 06-27-2005 10:53 AM
Permission denied using a user? SLACKER Alinuxnoob Linux - Newbie 7 10-05-2004 12:20 PM
winbind samba user vs. group permission denied prob pauljtester Linux - Software 1 09-30-2004 10:32 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration