Fedora Linux Support Community & Resources Center
  #1  
Old 16th March 2012, 03:10 PM
navneethr Offline
Registered User
 
Join Date: Jul 2010
Posts: 96
linuxopera
Only root show be able to connect/disconnect from netwok

Hello,
I am using Fedora 14 on 4 of my computers which are connected in a LAN. How do I ensure only root can start and stop the network. Right now I am noticing that any user can make a right click on the network icon and enable/disable it."
Is it possible to remove the network icon from the top menu....Would appreciate some suggestion on how to do this?
Regards
Reply With Quote
  #2  
Old 16th March 2012, 03:30 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,790
linuxfirefox
Re: Only root show be able to connect/disconnect from netwok

I belive there is an option under the network administration that labels a device as "user controled". If it is not flagged, then users will not be able to start/stop the network.

You can also look at the /etc/sysconfig/network-scripts for the device and change the "USERCTL=yes" to "USERCTL=no" to get the same effect.

BTW, check all network startup scripts (you have one for each interface), also good idea to check the "ONBOOT" parameter to make sure it has the value "yes" (otherwise you could be running around starting everybodys network).

Last edited by jpollard; 16th March 2012 at 03:33 PM.
Reply With Quote
  #3  
Old 17th March 2012, 02:42 AM
navneethr Offline
Registered User
 
Join Date: Jul 2010
Posts: 96
linuxopera
Re: Only root show be able to connect/disconnect from netwok

I will try this out...Thanks very much for your suggestions..
Reply With Quote
  #4  
Old 26th March 2012, 01:40 PM
navneethr Offline
Registered User
 
Join Date: Jul 2010
Posts: 96
linuxopera
Re: Only root show be able to connect/disconnect from netwok

Hello,
I tried your solution ...You can see in the snap shot that userc cannot start and stop the device.
But yet they are given the option to disconnect on the top network icon.
I would like that users should not be able to disconnect or re-connect. The moment the Lan cable is connected to the router the network icon should indicate that network is ready. If the router is switche off the NW icon should shouw discconeted.
The user (other than root) should not be able to do anything.
Please see sketch. Help/suggestions would be very much appreciated.
Regards
Attached Thumbnails
Click image for larger version

Name:	network.png
Views:	41
Size:	123.9 KB
ID:	22893  
Reply With Quote
Reply

Tags
connect or disconnect, netwok, root

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] NetworkManager keeps asking for key; wpa_supplicant gets into connect-disconnect loop mattwigway Servers & Networking 0 14th February 2011 10:04 PM
How to auto-disconnect and connect? A_n_H Servers & Networking 0 19th January 2010 02:58 PM
connect and disconnect Wireless Problems :( adhruba Servers & Networking 6 3rd August 2006 09:12 AM
fc5 NetworkManager ipw2200: connect - disconnect -connect - disconnect ... tomboy Servers & Networking 6 10th May 2006 06:53 PM


Current GMT-time: 00:23 (Saturday, 02-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat