LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 08-04-2011, 08:08 AM   #1
unix1adm
Member
 
Registered: Oct 2008
Posts: 627

Rep: Reputation: 30
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
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,305

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


Reply


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


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

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