9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: mirtchov@cpsc.ucalgary.ca
To: 9fans@cse.psu.edu
Subject: Re: [9fans] plan 9 ports to unix (including libdraw)
Date: Mon, 20 Oct 2003 14:07:02 -0600	[thread overview]
Message-ID: <c93430a2c0f64970652ee24c860055cb@plan9.ucalgary.ca> (raw)
In-Reply-To: <Pine.LNX.4.44.0310201340040.16637-100000@maxroach.lanl.gov>


> I'm willing to accept that 'reset' is a less-than-sensible way to reboot a
> machine.

no, you need this:

	NAME
 	      	halt, reboot, poweroff - stop the system.

	SYNOPSIS
       		/sbin/halt [-n] [-w] [-d] [-f] [-i] [-p] [-h]
       		/sbin/reboot [-n] [-w] [-d] [-f] [-i]
       		/sbin/poweroff [-n] [-w] [-d] [-f] [-i] [-h]

also:

	NAME
	       	shutdown - bring the system down

	SYNOPSIS
       		/sbin/shutdown [-t sec] [-arkhncfF] time [warning-message]

but that's not all! you are also required to have the usermode utilities. To quote:

	The usermode package contains the userhelper program, which
	can be used to allow configured programs to be run with
	superuser privileges by ordinary users.

It provides, among other things, the very user-helpful:

	/usr/bin/halt
	/usr/bin/poweroff
	/usr/bin/reboot

which allow a normal user to reboot the console without having
administrative privileges!

You may say "but why don't you just remove the usermode package, eh?"

The answer is hidden here, try to find it:

root@fbsd# rpm -ev usermode
error: Failed dependencies:
        usermode is needed by (installed) redhat-config-proc-0.18-1
        usermode >= 1.36 is needed by (installed) redhat-config-securitylevel-1.0.1-1
        usermode >= 1.36 is needed by (installed) redhat-config-xfree86-0.6.7-1
        usermode = 1.63-1 is needed by (installed) usermode-gtk-1.63-1
        usermode >= 1.36 is needed by (installed) redhat-config-services-0.8.2-1
        usermode is needed by (installed) gtoaster-1.0beta5-9
        usermode is needed by (installed) xawtv-3.74-4
        usermode >= 1.36 is needed by (installed) redhat-config-date-1.5.15-1
        usermode is needed by (installed) gdm-2.4.0.7-14
        usermode >= 1.36 is needed by (installed) up2date-gnome-3.0.7.2-1
root@fbsd#


Now, the $0.02 question is: "Can you guess which of the two 'reboot'
programs, the one that wants root, and the one that doesn't, comes
first in a default RedHat user's $PATH?"

andrey

ps: I had to run sed on this email to change all the '-' in the pasted
man pages from the special short dash symbol that Red Hat uses, surely
to prevent me from searching for documentation on specific options by
typing '/-d' for example.

pps: I'm sending this email as a pissed off FreeBSD user, not as a
pissed off Plan 9 user.  Plan 9 is so detached from such debaucheries,
that their vile nature is incomprehensible to the average 9fan, thus
cannot drive him (her) to such curmudgeonry as witnessed in this
email.




  reply	other threads:[~2003-10-20 20:07 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-17 16:30 David Presotto
2003-10-20  2:01 ` okamoto
2003-10-20  6:33   ` Nigel Roles
2003-10-20  8:29   ` Charles Forsyth
2003-10-20  8:45     ` Fco.J.Ballesteros
2003-10-20  8:45     ` okamoto
2003-10-20  8:50       ` Fco.J.Ballesteros
2003-10-20 17:21   ` ron minnich
2003-10-20 19:30     ` Charles Forsyth
2003-10-20 19:40       ` ron minnich
2003-10-20 20:07         ` mirtchov [this message]
2003-10-20 20:14           ` ron minnich
2003-10-20 21:08             ` David Presotto
2003-10-20 21:08           ` Enache Adrian
2003-10-20 21:17             ` mirtchov
2003-10-20 21:23               ` Scott Schwartz
2003-10-20 21:39                 ` Skip Tavakkolian
2003-10-20 23:12     ` Geoff Collyer
2003-10-21  1:16       ` okamoto
2003-10-21  2:48         ` okamoto
2003-10-21  3:23       ` Russ Cox
2003-10-21  3:33         ` okamoto
2003-10-21  3:56           ` Russ Cox
2003-10-21  4:01             ` ron minnich
2003-10-21 12:05               ` David Presotto
2003-10-21  6:28             ` Nigel Roles
2003-10-21  7:37             ` Richard Miller
2003-10-22  2:01               ` Adrian Tritschler
2003-10-21  9:39       ` a
2003-10-21 14:01     ` paurea
2003-10-21 16:05       ` C H Forsyth
2003-10-21 17:11         ` Fco.J.Ballesteros
2003-10-21 11:20           ` Charles Forsyth
  -- strict thread matches above, loose matches on Subject: below --
2003-10-17 18:21 Caerwyn B Jones
2003-10-17 20:35 ` Derek Fawcus
2003-10-17 15:48 matt
2003-10-17 16:02 ` Nigel Roles
2003-10-17 16:14   ` matt
2003-10-17 15:13 Richard C Bilson
2003-10-17 13:03 Caerwyn B Jones
2003-10-13 18:31 Russ Cox
2003-10-13 21:34 ` Caerwyn Jones
2003-10-14  0:53 ` arisawa
2003-10-14 18:09 ` andrey mirtchovski
2003-10-14 18:10 ` andrey mirtchovski
2003-10-17  2:53 ` Richard C Bilson
2003-10-17  3:02   ` William Josephson
2003-10-17  9:42   ` a
2003-10-17 14:30   ` Joel Salomon
2003-10-17 14:38     ` Joel Salomon
2003-10-17 23:57       ` Bruce Ellis
2003-10-17 17:25   ` Roman Shaposhnick
2003-10-17 18:00     ` matt
2003-10-17 18:06       ` Roman Shaposhnick
2003-10-17 21:16         ` matt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c93430a2c0f64970652ee24c860055cb@plan9.ucalgary.ca \
    --to=mirtchov@cpsc.ucalgary.ca \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).