[plug] Question on Linux system security
Carl Gherardi
gherardi at cs.curtin.edu.au
Tue Aug 14 18:46:19 WST 2001
On Tue, 14 Aug 2001, Greg Mildenhall wrote:
> 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.
>
Yep, it acually reboots the machine - I had X running and from an xterm
running as a normal user this worked.
Carl
More information about the plug
mailing list