Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-15-2006, 10:56 AM   #1
LQ Newbie
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0
Question When booting su: /bin/bash: Permission Denied

Hi, I have a serious problem, after upgrade my Fedora C2 to FC4 my startup script give me an error. I can't find the solution so I decided to ask your experience....

My script like "su - root -m -c /home/mydir/myscipt"

before upgrade fc4, there was no problem... bu after FC4, when the systen starting up, gives me en error about bash permission and about my script...


su: /bin/bash: Permission Denied.

Do you have an experience about this problem... My java program must be start with root permission...

When I run the script from shell manual, there is no problem again.. service starts welll....

So what is the problem and how can I solve it, please help me!!!
Old 08-15-2006, 11:04 AM   #2
LQ Newbie
Registered: Aug 2006
Posts: 2

Original Poster
Rep: Reputation: 0
I found the solution... Everything about SELinux... After I set enforcing to off, the problem solved....

Thanks everybody... It was very quick


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
su: /bin/bash: Permission denied fedora4002 Linux - Security 5 01-29-2010 09:46 AM
su: /bin/bash: Permission denied dwarf007 Linux - General 10 01-20-2006 05:32 PM
Cannot execute /bin/bash: Permission denied Hegemon Linux - General 4 01-19-2004 05:13 AM
cannot execute /bin/bash: Permission Denied peeples Linux From Scratch 24 10-25-2002 09:07 AM

All times are GMT -5. The time now is 02:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration