LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-16-2006, 01:03 AM   #1
jst1
Member
 
Registered: Jan 2005
Location: chicago
Distribution: Suse 10.0
Posts: 39

Rep: Reputation: 15
iptables: Permission denied


As root, I get this result. Also, during IPL/ boot there appear to be 20 calls this that each get "permission denied." It takes an inordinately long time for initial boot, then everything seems to be fine. I recently 'upgraded' to 10.0-OSS from 9.3.
 
Old 04-16-2006, 02:29 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
ls -l /sbin/iptables

it is possible that your system has been configured so only a firewall frontend can access this. Alternatively, something went amiss with the "upgrade". Usually it is better to backup and clean-install.
 
Old 04-17-2006, 07:49 AM   #3
jst1
Member
 
Registered: Jan 2005
Location: chicago
Distribution: Suse 10.0
Posts: 39

Original Poster
Rep: Reputation: 15
On my system it is:
/bin/ls: /usr/sbin/iptables: Permission denied.

I should have backed up and done a clean install; I may wait and do it with 10.1. I thought that root cannot be blocked from anything. THANKS
 
Old 04-17-2006, 09:17 AM   #4
jst1
Member
 
Registered: Jan 2005
Location: chicago
Distribution: Suse 10.0
Posts: 39

Original Poster
Rep: Reputation: 15
/usr/sbin # ll|more
/bin/ls: ip6tables-save: Permission denied
/bin/ls: iptables-save: Permission denied
/bin/ls: iptables-restore: Permission denied
/bin/ls: iptables: Permission denied
/bin/ls: xfs_admin: Permission denied
/bin/ls: ip6tables-restore: Permission denied
/bin/ls: xfs_bmap: Permission denied
/bin/ls: iptables-batch: Permission denied

Other files are '-rwxr-xr-x'...including:

-rwxr-xr-x 1 root root 44392 Sep 13 2005 ip6tables
-rwxr-xr-x 1 root root 48272 Sep 13 2005 ip6tables-batch
-rw-r--r-- 1 root root 48400 Mar 20 22:21 ip6tables-restore;441f7ecd
-rw-r--r-- 1 root root 48400 Mar 20 22:21 ip6tables-restore;441f7f40
 
Old 04-17-2006, 06:12 PM   #5
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
SuSE sticks iptables in /usr/sbin/ does it?

Hmmm... that would suggest you have r/x permission for the directory. There's always the despirate, as root,

chmod 755 /usr/sbin/iptables

another is to check what groups root belongs to. (One of the troubles with the FC4 upgrade was that all users had no group membership, it may be the same here.)

The simplest fix is a reinstall - or at least, reinstall iptables.

And, yes, even root can be blocked.
I think I saw an example where the permissions were set to a group that root didn't belong to withowner and other permissions removed.
 
  


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
Permission Denied Old Timer Programming 4 12-15-2005 03:23 PM
Permission Denied Deag^ Linux - Security 1 10-20-2004 11:05 AM
Permission Denied NathanCohen2003 Mandriva 5 08-27-2003 05:39 PM
Permission denied? jbhoo Linux From Scratch 1 04-27-2002 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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

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