[plug] Question on Linux system security

Greg Mildenhall assassin at live.wasp.net.au
Tue Aug 14 16:08:59 WST 2001


On Tue, 14 Aug 2001, Carl Gherardi wrote:
> On Tue, 14 Aug 2001, Gavin Corfield wrote:
> I came across this a while back when someone (linux clueless) said "So
> what would happen if I typed reboot?"
> as it turns out...
> rwxrwxrwx root root 	reboot -> halt
> rwxr-xr-x root root 	halt
> As a normal user you can reboot the machine from the console.

???
Are you trying to suggest that this program will shut the machine down
when run as a normal user? I would be astonished if the kernel checks your
tty when you call halt, and I see no other way for this to work.

-Greg




More information about the plug mailing list