Networking Forums

Networking Forums > Computer Networking > Linux Networking > Network Shutdown

Reply
Thread Tools Display Modes

Network Shutdown

 
 
workman161@gmail.com
Guest
Posts: n/a

 
      04-30-2006, 06:21 PM
I used Novel Netware a little while ago, and I saw that it had a
feature where you could shut down computers at the admin's will. I've
been looking for a way to implement this in linux. My network is a
bunch of thin clients with a readonly root mounted over NFS, and they
all use LDAP authentication to log in the users. The way I have this
implemented now, is to check the LDAP server. It looks in a specific
directory for a 'command' class, and if the host matches, it executes
that command. I have the script running in a crontab every minute, but
this seems to be a bit messy to me. Is there some other way to do it?
Like making some central daemon they all connect to, and then check for
something similar to a magic packet?

 
Reply With Quote
 
 
 
 
Bill Marcum
Guest
Posts: n/a

 
      05-01-2006, 01:37 AM
On 30 Apr 2006 11:21:12 -0700, (E-Mail Removed)
<(E-Mail Removed)> wrote:
> I used Novel Netware a little while ago, and I saw that it had a
> feature where you could shut down computers at the admin's will. I've
> been looking for a way to implement this in linux. My network is a
> bunch of thin clients with a readonly root mounted over NFS, and they
> all use LDAP authentication to log in the users. The way I have this
> implemented now, is to check the LDAP server. It looks in a specific
> directory for a 'command' class, and if the host matches, it executes
> that command. I have the script running in a crontab every minute, but
> this seems to be a bit messy to me. Is there some other way to do it?


ssh user@hostname sudo shutdown [ -r ] now


--
"If you understand what you're doing, you're not learning anything."
-- A. L.
 
Reply With Quote
Reply

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Win98SE cannot shutdown because of network connection Roger R Windows Networking 0 05-19-2007 12:28 PM
Using the Shutdown command over a network NZSchoolTech Windows Networking 3 05-17-2007 09:41 PM
Network causing shutdown Ron O'Neill Home Networking 0 05-26-2004 04:04 PM
restart vs shutdown after network install cindy Windows Networking 0 09-07-2003 11:39 AM
Windows ME won't shutdown after installing a network card JB Windows Networking 1 08-20-2003 01:57 AM



1 2 3 4 5 6 7 8 9 10 11