Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 08-04-2011, 08:08 AM   #1
Registered: Oct 2008
Posts: 658

Rep: Reputation: 32
selinux in ubuntu not allowing me to shut my system down.

I decided to load SELinux on one of my systems last night. Now I am use to using it in the RH/CentOS world. On this laptop i am runing Ubuntu 10.04

However I thought this was strange. I loaded it and put it in enforcing mode.

When I went to shut the system down it would not. It only logged me out. I had to put it back to Permissive mode to get the system to shutdown.

Also I don't see a GUI for it in the menus options any place.
In RH there is a UI for it.

I was logged in as my local ID and had to sudo to put it in enforcing or permissive.

I could shut the box down as root if I issued the shutdown command. But as my user I cannot.

What am I missing?
Old 08-04-2011, 10:38 AM   #2
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 211Reputation: 211Reputation: 211
You need to give the user permission to perform shutdowns.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[solved] After upgrading Ubuntu, system blacks out in the Shut Down process didland Linux - Newbie 5 11-09-2009 12:56 PM
selinux not allowing su to root vonedaddy Linux - Security 3 01-03-2008 05:39 PM
SELinux is not allowing mysql server to start shobhit Linux - Security 1 07-22-2007 05:56 AM
shut down won't shut system down taoweijia Linux - General 3 03-03-2004 06:05 PM
allowing regular users to shut down abyss Linux - General 1 08-30-2002 12:39 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration