LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-12-2011, 01:11 PM   #1
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Rep: Reputation: 29
selinux without X


Hi All,

I am not new to Debian but this is the first time I have set up a Debian server-I have a minimal Squeeze install on a xen domu. I'd like to use selinux, but really don't want to pull in X with it, as apt wants to do.

Is anyone here using selinux on their debian server-if so can you get it going without X?

Best,

Kristian
 
Old 10-12-2011, 05:41 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Hello,

What exactly are you trying to do with selinux? Enable it? View alerts? You can do everything from the command line, as that is how selinux was designed. Here is a good write-up about most of the commands - http://www.gentoo.org/proj/en/harden...?part=2&chap=2

Cheers,

Josh
 
1 members found this post helpful.
Old 10-14-2011, 10:16 AM   #3
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by corp769 View Post
Hello,

What exactly are you trying to do with selinux? Enable it? View alerts? You can do everything from the command line, as that is how selinux was designed. Here is a good write-up about most of the commands - http://www.gentoo.org/proj/en/harden...?part=2&chap=2

Cheers,

Josh
Just want to install it. The problem was that it recommends aload of x packages, which is an interesting approach for someone who is installing a package intended to improve server security. I'll just install it without the recommended packages.

Thanks for your reply.

Kris
 
Old 10-16-2011, 06:36 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by kristizz View Post
Is anyone here using selinux on their debian server-if so can you get it going without X?
As responded here I managed load SELinux onto a standard installation of Lenny w/o probs. The installation pulled in about 100 megs worth of packages. I did notice some were X11 / Xorg or related libraries. The machine runs in runlevel 3, I'm pretty sure I ain't got X11 / Xorg, but I haven't tried removing libs yet.
 
Old 10-24-2011, 05:34 AM   #5
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Original Poster
Rep: Reputation: 29
Thanks for the replies. I read the squeeze release notes which told me that apt automatically installs recommends, I just disabled this as the notes suggest and have installed selinux without x packages.
 
  


Reply



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
postfix and selinux [selinux updates broke postfix?] rjcroasdale Linux - Server 59 12-03-2019 11:17 PM
SELinux errors, SELinux and wine ziphem Linux - Security 10 01-27-2011 04:15 PM
Selinux-how do i find out what domains have permissions on what type?(selinux policy) vishyc88 Linux - Security 2 11-22-2010 04:27 AM
"../system.h :selinux/selinux.h:no such file or directory" ashmita04 Linux From Scratch 4 02-05-2009 03:36 AM
SELinux Help piercey Red Hat 5 06-25-2008 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:20 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration