LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 08-15-2006, 09:56 AM   #1
Kalimdora
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...

Error:

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, 10:04 AM   #2
Kalimdora
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
 
  


Reply


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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration