From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,afcdefdb0727bc81 X-Google-Attributes: gidf8c9b,public X-Google-Thread: f72b0,afcdefdb0727bc81 X-Google-Attributes: gidf72b0,public X-Google-Thread: 1020c6,afcdefdb0727bc81 X-Google-Attributes: gid1020c6,public X-Google-Thread: fee84,afcdefdb0727bc81 X-Google-Attributes: gidfee84,public From: tomr@pinn.net (Tom Regan) Subject: Re: --> How can *I* reboot my machine? <-- Date: 1996/07/20 Message-ID: <4sqnvv$loe@matterhorn.pinn.net>#1/1 X-Deja-AN: 169005943 references: <4sodo0$rnb@newz.oit.unc.edu> followup-to: comp.unix.admin,comp.unix.misc,comp.unix.questions,comp.unix.osf.osf1 organization: Pinnacle Online - Internet access for Hampton Roads, Virginia - 490-4509 newsgroups: comp.unix.admin,comp.unix.misc,comp.unix.questions,comp.unix.osf.osf1 Write a short C program (call it rboot) main() { setuid(0); setgid(0); system("/usr/sbin/reboot"); exit (0); } Set the owner to root, and chmod 4755. -- tomr@pinn.net Tom Regan Jobs For Handicapped Inc. Virginia Beach, Va. (804) 499-9684