Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Misc
Reload this Page Power down XP from Linux
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Misc Any questions or Linux discussion that does not fit in any of the other technical areas.

Reply
 
Thread Tools Display Modes
Old 01-17-2008   #1 (permalink)
grogotech
Just Joined!
 
Join Date: Jan 2008
Location: Canberra Australia
Posts: 3
Power down XP from Linux

I am using an ubuntu server distro as a general management and backup server in a small business with windoze XP.

The business owners insist on having their machines turned off over night, they are freaked out about the potential for fire. They must have had an exploding computer or something at some time.

Anyway I need to do backups of the local user data for each machine and make sure the virus updates and windoze updates occur.

I have used wakeonlan to turn each computer on, but I can't seem to find a solution for turning them off again.

I tried to convince the business users to use samba shares to store their data, however they like the arrangement as it is.

Does anyone have any ideas?

Thanks,

Pat
grogotech is offline   Reply With Quote
Old 01-17-2008   #2 (permalink)
RobinVossen
Linux Engineer
 
RobinVossen's Avatar
 
Join Date: Aug 2007
Location: The Netherlands
Posts: 1,163
Send a message via ICQ to RobinVossen Send a message via MSN to RobinVossen
you can put
Code:
shutdown -s -t 1080000
in the boot from Windows

Hope that helps.

Cheers,
Robin

(else you can do it with OpenSSH on the Windows Box to gain shell)
__________________
Linux User: 453003
New Users, please read this..
Google first, then ask..
Eudyptes schlegeli
RobinVossen is online now   Reply With Quote
Old 01-24-2008   #3 (permalink)
grogotech
Just Joined!
 
Join Date: Jan 2008
Location: Canberra Australia
Posts: 3
Robin,
Thanks for the information. I didn't really follow the Windows boot option you suggested. However I guess this would always apply when the machine is booted. I want to be able to force a shutdown when I need it.

Anyway I have been working on a solution from your OpenSSH solution. I actually installed OpenSSH and got the shutdown to work. However I had a problem with openSH that it would not allow connections until the service had been restarted after boot. I found several discussion of this, but no real solutions.
I installed a minimal installation of cygwin and this worked fine. There are some additional advantages to cygwin over openSSH for some other ideas I have.

Thanks again.

Pat
grogotech is offline   Reply With Quote
Old 01-24-2008   #4 (permalink)
RobinVossen
Linux Engineer
 
RobinVossen's Avatar
 
Join Date: Aug 2007
Location: The Netherlands
Posts: 1,163
Send a message via ICQ to RobinVossen Send a message via MSN to RobinVossen
Ah, well What Id do is set Win32 Cryptcat Liserning in the boot.
There a milions of ways to do that.
Then you can control the PC using teh Windows CMD using Cryptcat on Windows.
What you also can do it put cygwin_OpenSSH in there.
Net-Force | Library
__________________
Linux User: 453003
New Users, please read this..
Google first, then ask..
Eudyptes schlegeli
RobinVossen is online now   Reply With Quote
Old 01-24-2008   #5 (permalink)
bigtomrodney
Bigtomrodinator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 5,138
Have you seen Winexe? It's the Linux equivalent to psexec from sysinternals. Might allow you to script reboots.
__________________
In the land of the blind, the night vision users are laughing at the king

Registered Linux user #378740

New members read here / Forum Rules
bigtomrodney is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
speedtouch modem connect problem and tainted kernel superkarimo SuSE Linux Help 0 01-04-2007 05:37 PM
"The system is going down..." Oris SuSE Linux Help 11 09-17-2005 05:01 PM
maximum of partitions in linux? sf433 Installation 11 08-28-2005 11:33 PM
Future reference for new linux and computer users review flw The Coffee Lounge 0 11-20-2003 02:05 PM
About the 2.6 Kernel jasonlambert Linux Tutorials, HOWTO's & Reference Material 0 08-10-2003 05:54 PM




All times are GMT. The time now is 01:09 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0