Reboot User's workstation


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Reboot User's workstation
Prev   Next
# 1  
Old 10-10-2006
Reboot User's workstation

Hi Gurus,

I'm trying to write a script right to reboot all my user's workstation over this weekend.

I'm kind of stuck here right now. I know the command to reboot ie init 6 but how to include all the users in my script?

thanks

wee Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Please help: workstation broken?

I have buy an used Workstation intellistation power5 IBM. But doesn't work. How to turn on? I try to connect network asmi take the ip ping is ok telnet ok but if i try to connect to a browser give me timeout The display give me a yellow sign ! and error B150F22A Someone can help... (2 Replies)
Discussion started by: Linusolaradm1
2 Replies

2. Shell Programming and Scripting

How to run script automatically on reboot as root user?

Hi friends,,, I am running one server on Ubuntu 12.04 LTS 32-bit, some times my pc restarts automatically, with no reason, I have a script to start server which requires root password. in this directory /myserver/start_server.sh How can I do this ? and some scripts I am having that I... (1 Reply)
Discussion started by: Akshay Hegde
1 Replies

3. Linux

vmware workstation

i have following :- fedora 16 x 64bit kernel 3.2.7-1 vmware workstation 8.0.2. Steps to install vmware workstation to access ESX machine 1- sh vmware name.bundle 2- setup started and completed with out any warning. 3- when i type "vmware " then "VMware Module Updater Started" and the... (2 Replies)
Discussion started by: engrtahir2007
2 Replies

4. Solaris

NIS on vmware workstation

Hi Admins, I just have a doubt on NIS that, is it possible to run NIS on vmware workstation running more than 1 solaris instances. i.e. can we setup one solaris instance as master and others as slaves...?? I have vista on my laptop. I am concern about the domain name it will ask while... (8 Replies)
Discussion started by: snchaudhari2
8 Replies

5. Solaris

Setting up a new workstation

Hi all, I'm about to build a new workstation and was thinking about running Solaris 10 on it. First the hardware: AMD opteron 2.2Ghz dual Core 2GB RAM Nvidia Quadro FX1400 SATA 2x250GB HDD 2x Eizo S1911 Monitors Will Solaris handle the dualscreens or will i have to use only one? Also,... (6 Replies)
Discussion started by: Timmy66
6 Replies

6. Solaris

different between soft reboot and hard reboot

Hi Guru's Can any want here could explain to me the different between soft reboot and hard reboot . Best Regards Seelan (3 Replies)
Discussion started by: seelan3
3 Replies

7. UNIX for Dummies Questions & Answers

I want to reset my workstation!

I am having an error in my workstation. I want to reset it and start from scratch. I also want to add a 120 G. Drive to my workstation. I checked out a book at my local library on unix. I still can't figure out how to erase everything and install this drive,please help. (4 Replies)
Discussion started by: Sotelo_27
4 Replies

8. UNIX for Dummies Questions & Answers

HP UX workstation?

Hi, I want to learn more about HP UX and I want to purchase an HP UX workstation to further my self studying. Which is a good model and where can I purchase a used system? thanks so much, (2 Replies)
Discussion started by: xNYx
2 Replies

9. Filesystems, Disks and Memory

emulations in workstation...

i have a network with Windows NT 4.0, and now i will install a UNIX server. Bud my workstation are in NT Workstation 4.0. I don't know about this installation. how do i for this connection. have i to use workstation emulation? please, help me!!! ASAP. Thanks (1 Reply)
Discussion started by: rmilano
1 Replies
Login or Register to Ask a Question
RC(8)							      System Manager's Manual							     RC(8)

NAME
rc - command script for auto-reboot and daemons SYNOPSIS
/etc/rc /etc/rc.local DESCRIPTION
Rc is the command script which controls the automatic reboot and rc.local is the script holding commands which are pertinent only to a spe- cific site. When an automatic reboot is in progress, rc is invoked with the argument autoboot and runs a fsck with option -p to ``preen'' all the disks of minor inconsistencies resulting from the last system shutdown and to check for serious inconsistencies caused by hardware or software failure. If this auto-check and repair succeeds, then the second part of rc is run. The second part of rc, which is run after a auto-reboot succeeds and also if rc is invoked when a single user shell terminates (see init(8)), starts all the daemons on the system, preserves editor files and clears the scratch directory /tmp. Rc.local is executed immedi- ately before any other commands after a successful fsck. Normally, the first commands placed in the rc.local file define the machine's name, using hostname(1), and save any possible core image that might have been generated as a result of a system crash, savecore(8). The latter command is included in the rc.local file because the directory in which core dumps are saved is usually site specific. SEE ALSO
init(8), reboot(8), savecore(8) BUGS
4th Berkeley Distribution April 27, 1985 RC(8)