Need help shutting down Linux non root

OT: anything goes!

Moderator: Edi

Post Reply
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Need help shutting down Linux non root

Post by Pu-239 »

Shutdown -a refuses to read shutdown.allow. Irritating, and I'd like help before I set up some shell script involving sudo or su. I have installed PAM, could that be the problem? However I don't think the sysvinit shutdown uses PAM, so how do I fix this?

Also, where can I find a tarball for the redhat consolehelper program? I can install an RPM, but most of them seem distribution specific and seem like they would need some tinkering to work.

I suppose I could just suid halt and shutdown, and I have been a little too paranoid in installing PAM on a computer that only I use, and then some other crypto.

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
User avatar
Beowulf
The Patrician
Posts: 10621
Joined: 2002-07-04 01:18am
Location: 32ULV

Post by Beowulf »

if you have a journalling filesystem, hit the off button.
"preemptive killing of cops might not be such a bad idea from a personal saftey[sic] standpoint..." --Keevan Colton
"There's a word for bias you can't see: Yours." -- William Saletan
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Post by Pu-239 »

Nevermind, found consolehelper. It's in the usermode package. No readme files whatsoever in this package though...

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Post by Pu-239 »

Beowulf wrote:if you have a journalling filesystem, hit the off button.
I do, I just set it to writeback for maximum speed, which means stuff gets lost...

Well I could just sync the disks.

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
User avatar
kojikun
BANNED
Posts: 9663
Joined: 2002-07-04 12:23am
Contact:

Post by kojikun »

$ pull -plug

:)
Sì! Abbiamo un' anima! Ma è fatta di tanti piccoli robot.
Post Reply