Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have hooked up a network between 3 boxes.
I have successfully pulled juice off the net.
My issue is that I have to reboot my machine for it to recognize the cable.
In a situation where I'm already powered up and the cable was not pluged in during boot, is there a way to have redhat 9 run a network check to find the atached cable w/o rebooting?
Please someone help with some ideas.
During boot the location that confirms the dhcp request goes red due to no cable connected.I'm looking for a way to repair that connection on my machine by calling syntax that would auto detect the connection.
is this possible?
Did it actually restart your netowrk services? Should have looked like this:
-(~:#)-> service network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
-(~:#)->
I still can not get my user access to the command service?
I edited the sudoers file to match the above, but nothing worked.
I also thought that it may be that the path is not in my .bash_profile file.
I added entry...
Code:
PATH=$PATH:/usr/sbin
but it didn't work.
is the service command in another directory?
does anyone know how to get the service command accessable for a user other than root. i granted root previlages, and that didn't do anything.
another follow up question is, can you run this command from xwindow?
Last edited by xviddivxoggmp3; 07-16-2004 at 04:04 PM.
is their a way to get implied root access to an individual user?
w/o having to log on as root every time i want to make a root change?
btw theother, you pointed me in the correct direction. i'm one more step closer.
X,
As jacky pointed out, you can add the desired users/commands to the sudoers file. Instead of ALL, just give rights to the desired commands, like /sbin/service. See 'man 8 sudo' and 'man 5 sudoers' for more info. If you give them ALL rights, you might as well just let them log in as root. Or go ahead and format your system now and avoid the wait for a user to do this:
rm -fr /
You could make them members of the root group but I would STRONGLY recommend you do not do this. I think your best bet is adding the desired commands to the sudoers file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.