Results 1 to 3 of 3

Thread: Remote rebooting the linux box

  1. #1
    kyiu
    Guest

    Remote rebooting the linux box

    Every now'n then my linux box has to be reboot to update the IP address. I have to do this everytime when my ISP change the IP address to my account. I can do the reboot remotely as long as su to the root before issuing the reboot command. I like to delegate is operation to a user and I don't want to give out the root password. : Another word, remote reboot the linux box in the user level. Or a better way to do this then rebooting the box.

    Ken

  2. #2
    JimH
    Guest

    Re:Remote rebooting the linux box

    Just restarting networking would be a quickie way, but you would still need root access.

    /sbin/service network restart

    You might look at the manpages for sudo. sudo allows users you specify to run the commands you specify as root.

    man sudo
    man sudoers

    Jim H

  3. #3
    Spot
    Guest

    Re:Remote rebooting the linux box

    Just restarting networking would be a quickie way, but you would still need root access.

    /sbin/service network restart

    You might look at the manpages for sudo. sudo allows users you specify to run the commands you specify as root.

    man sudo
    man sudoers

    Jim H
    Also, you might try writing a little script that pings a well known address, yahoo or something, once every 30 mnutes or so on a cron job. If there's no ping reply(meaning the ip expired), then it can restart the network.

Similar Threads

  1. Secure Remote Linux Administration
    By peter in forum Tutorials
    Replies: 1
    Last Post: 11-24-2008, 05:22 AM
  2. Remote applications, Actually remote Windows Question.
    By Stevef22 in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 11-05-2006, 06:11 AM
  3. rebooting loop
    By j9sheldon in forum Windows - General Topics
    Replies: 1
    Last Post: 10-24-2006, 05:38 AM
  4. Sound problems when rebooting.
    By chumley in forum Linux - General Topics
    Replies: 9
    Last Post: 01-27-2005, 10:33 AM
  5. Resetting mouse driver w/ out rebooting
    By Blaqb0x in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 05-23-2003, 06:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •