Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 157219 - regular user can reboot
regular user can reboot
Product: Fedora
Classification: Fedora
Component: usermode (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
: Security
Depends On:
  Show dependency treegraph
Reported: 2005-05-09 11:21 EDT by Doug Henderson
Modified: 2014-03-16 22:53 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-05-09 14:43:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Doug Henderson 2005-05-09 11:21:36 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3

Description of problem:
boot fully updated system with build 1287.
modify grub parameters to add "selinux=0"

issue telinit 5 as root
startup my usual suite of apps (Oracle 10g, seti@home)

connected remotely via ssh.

$ /sbin/shutdown -r now
shutdown: you must be root to do that!

[doug@lambda ~]$ /sbin/reboot
reboot: must be superuser.

$ reboot
*** system reboots. ***
man page for reboot says non-root user will get diagnostic message.

# which reboot

$ ls -li /usr/bin/reboot /sbin/reboot
4128951 lrwxrwxrwx  1 root root  4 Apr 28 06:22 /sbin/reboot -> halt
5903240 lrwxrwxrwx  1 root root 13 Apr 11 22:51 /usr/bin/reboot -> consolehelper

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. connect as regular user
2. execute reboot

Additional info:
Comment 1 Doug Henderson 2005-05-09 11:22:44 EDT
changed component from SysVinit to usermode as it is /usr/bin/reboot not
/sbin/reboot that causes problem.
Comment 2 Bill Nottingham 2005-05-09 14:43:53 EDT
If you're logged in on the console (this includes X), this is expected behavior.

Note You need to log in before you can comment on or make changes to this bug.