Bug 69452
Summary: | Inconsistent behaviour of "reboot" and "halt" with manual page | ||
---|---|---|---|
Product: | [Retired] Red Hat Public Beta | Reporter: | Peter van Egdom <p.van.egdom> |
Component: | usermode | Assignee: | Nalin Dahyabhai <nalin> |
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | limbo | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-08-06 01:52:47 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 67217 |
Description
Peter van Egdom
2002-07-22 18:12:07 UTC
This will be fixed in 1.56 and later. Fix confirmed with usermode-1.56-2. Reopening this bug. I tested this on a freshly installed Red Hat Linux box (Limbo beta 2 - 7.3.93) and a normal user (without super-user rights) is still able to reboot or halt a machine with resp. the commands "reboot" or "halt". Whether the user is created during installation with Anaconda or after installation with "useradd <foobar>" does not matter. Additional info : [peterve@limbo-pc peterve]$ which reboot /usr/bin/reboot [peterve@limbo-pc peterve]$ ls -l /usr/bin/reboot lrwxrwxrwx 1 root root 13 jul 31 00:04 /usr/bin/reboot -> consolehelper [peterve@limbo-pc peterve]$ which consolehelper /usr/bin/consolehelper [peterve@limbo-pc peterve]$ rpm -qfi /usr/bin/consolehelper |grep RPM Group : Applications/System Source RPM: usermode-1.56-2.src.rpm Two different bugs, it appears. The first (no error message) is fixed here. The second is part of how usermode works (users who are logged in on the system console are allowed to reboot or halt the system based on the assumption that she can just yank the power cord to accomplish the same goal). To disable that functionality, you'll need to remove the usermode package altogether. To that end, I'm leaning to re-closing this bug. Closing because the original bug here is fixed in Raw Hide. |