Re: Howto make root commands available to any user
On Thu, Jul 29, 2004 at 04:22:03PM -0700, Alvin Oga wrote:
> hi ya
> On Fri, 30 Jul 2004, csj wrote:
> > > - 3-finger salute should always work from any console for anybody
> > >
> > > - anybody that hits the power or reset switch should be shot on the spot
> > > :-)
> > But as another poster said the buttons could be remapped to
> > initiate a graceful shutdown.
> 3-finger salute is already a graceful shutdown ( init 6 )
> power and reset switches can only be connected or not
> - hitting the reset can do nothing or will take the machine
> into its reset code in the bios ...
The reset will force a reset, thats true (I am not sure it even goes
through the bios).
> - hitting the power switch ... will power off the box immediately
> or delay 5 seconds before power off .. more bios code ..
Thats mostly false for most machines (at least intels) still alive today
(probably at least somewhere around pentium III 450 and up). The power
button is usually soft off, where it sends a shutdown message to the
system (sometime needs the option set in the bios), and it sends an apm
or acpi message to the system.
Pressing the button for at least 4-5 seconds will usually force a hard
> - you can't "remap" the bios code to something else ...
> and if you did, its not "user friendly" since its not standard
> for everybody on every pc
> ( all machines should behave the same way to prevent confusion )
> c ya
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
> This Mail Was Scanned By Mail-seCure System
> at the Tel-Aviv University CC.