LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-02-2004, 05:15 PM   #1
Dartelin
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:
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.
 
Old 05-02-2004, 07:26 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 05-03-2004, 04:58 AM   #3
Dartelin
LQ Newbie
 
Registered: May 2004
Posts: 19

Original Poster
Rep: Reputation: Disabled
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.
 
Old 05-03-2004, 12:15 PM   #4
ekman
Member
 
Registered: Apr 2004
Location: Sweden
Posts: 41

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


Reply



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 08:32 PM
whatever a non-root user does, he gets 'permission denied'. boazg Linux - Software 2 08-05-2005 08:17 AM
User executing script: bad interpreter: Permission denied stefaandk Linux - Newbie 7 06-27-2005 09:53 AM
Permission denied using a user? SLACKER Alinuxnoob Linux - Newbie 7 10-05-2004 11:20 AM
winbind samba user vs. group permission denied prob pauljtester Linux - Software 1 09-30-2004 09:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:34 AM.

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