Bug 125603 - Normal user can not poweroff/restart the box.
Summary: Normal user can not poweroff/restart the box.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-doc
Version: 2
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-06-09 09:05 UTC by Ivo Sarak
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-06-16 11:34:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ivo Sarak 2004-06-09 09:05:38 UTC
Description of problem:
After latest upgrade to latest FC2 .rpms ("apt-get upgrade") normal
users can not issue a "poweroff" command.

Version-Release number of selected component (if applicable):
libselinux-1.13.2-1
libselinux-devel-1.13.2-1
selinux-doc-1.10-1

How reproducible:
Always.

Steps to Reproduce:
1. Install FC2;
2. Upgrade the system with "apt-get upgrade";
3. Log in as normal user and issue "poweroff";

Actual results:

[ivo@sarmax ivo]$ poweroff
Could not set exec context to ivo:sysadm_r:sysadm_t.
[ivo@sarmax ivo]$

Expected results:
System going down.



Additional info:

I find it odd that if the user should press the "ctrl+alt+del" then it
will reboot the box, but issuing "poweroff" is not accepted.

Why the SELinux is active despite /etc/sysconfig/selinux has
"SELINUX=disabled"?
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=122189

Comment 1 Ivo Sarak 2004-06-16 10:29:45 UTC
It was indeed related to SELinux and with 122189 being fixed, it is
working now.


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