Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: tomr@pinn.net (Tom Regan)
Subject: Re: --> How can *I* reboot my machine? <--
Date: 1996/07/20	[thread overview]
Message-ID: <4sqnvv$loe@matterhorn.pinn.net> (raw)
In-Reply-To: 4sodo0$rnb@newz.oit.unc.edu


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



  reply	other threads:[~1996-07-20  4:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-19  4:00 --> How can *I* reboot my machine? <-- D. White
1996-07-20  4:00 ` Tom Regan [this message]
1996-07-20  4:00   ` Andrew Gierth
1996-07-22  4:00     ` John Hascall
1996-07-24  4:00       ` Shriman Gurung
1996-07-24  4:00         ` Tim Mooney
1996-07-26  4:00 ` Heiner Steven
1996-07-30  4:00   ` R Denholm
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox