Page 1 of 1

Need help shutting down Linux non root

Posted: 2003-04-14 08:10pm
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.

Posted: 2003-04-14 08:30pm
by Beowulf
if you have a journalling filesystem, hit the off button.

Posted: 2003-04-14 08:37pm
by Pu-239
Nevermind, found consolehelper. It's in the usermode package. No readme files whatsoever in this package though...

Posted: 2003-04-14 09:07pm
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.

Posted: 2003-04-14 09:18pm
by kojikun
$ pull -plug

:)