Sponsored Content
Full Discussion: Reboot User's workstation
Top Forums Shell Programming and Scripting Reboot User's workstation Post 302092454 by lweegp on Tuesday 10th of October 2006 03:15:20 AM
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
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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

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

7. 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

8. 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

9. 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
runit-init(8)                                                 System Manager's Manual                                                runit-init(8)

NAME
init - a UNIX process no 1 SYNOPSIS
init [ 0 | 6 ] DESCRIPTION
runit-init is the first process the kernel starts. If runit-init is started as process no 1, it runs and replaces itself with runit(8). If runit-init is started while the system is up, it must be either called as init 0 or init 6: init 0 tells the Unix process no 1 to shutdown and halt the system. To signal runit(8) the system halt request, runit-init removes all permissions of the file /etc/runit/reboot (chmod 0), and sets the execute by owner permission of the file /etc/runit/stopit (chmod 100). Then a CONT signal is sent to runit(8). init 6 tells the Unix process no 1 to shutdown and reboot the system. To signal runit(8) the system reboot request, runit-init sets the execute by owner permission of the files /etc/runit/reboot and /etc/runit/stopit (chmod 100). Then a CONT signal is sent to runit(8). EXIT CODES
runit-init returns 111 on error, 0 in all other cases. SEE ALSO
runit(8), runsvdir(8), runsvchdir(8), sv(8), runsv(8), chpst(8), utmpset(8), svlogd(8) http://smarden.org/runit/ AUTHOR
Gerrit Pape <pape@smarden.org> runit-init(8)
All times are GMT -4. The time now is 03:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy