LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Tomoyo in Squeeze - where do I start? (http://www.linuxquestions.org/questions/debian-26/tomoyo-in-squeeze-where-do-i-start-896579/)

Chriswaterguy 08-10-2011 11:16 AM

Tomoyo in Squeeze - where do I start?
 
Tomoyo looks really interesting for improving security, but the installation page says:
Quote:

NOTE: If you are using... Debian Squeeze and later... you don't need to compile kernel because TOMOYO Linux is already built into their kernels. Adding security=tomoyo to kernel's command line parameters will enable TOMOYO Linux.
So:
  • why is there a tomoyo 2.2 package in my repository (and not installed) if it's already included in the kernel?
  • Where do I change the kernel's command line parameters?
  • What if I want to use the Liquorix kernel?
I did google, but didn't find anything that helped. Any tips appreciated - thanks.

Btw, I have the 2.6.32 kernel (2.6.32-34squeeze1, whatever that means) and also the liquorix kernal installed (choice given at boot). I'm running CrunchBang, which is the same as a minimum install Debian Squeeze but with a custom Openbox desktop.

widget 08-10-2011 04:41 PM

What they are referring to is that the kernel will support the package already and the package will install using the install script for dpkg.

I am running Debian testing with the Liquorix kernel. It has the standard dpkg set up. Have never had any trouble with any package from the repo.

If you do have trouble just remove the bugger. My bet is that it runs.

Not sure why anyone would want the thing. Plenty of tools for the same things already included in your install or actually part of the kernel. That is me though, it is your box and your choice. I sure don't worry about what others think of what I do on mine.

almatic 08-10-2011 05:26 PM

Quote:

Originally Posted by Chriswaterguy (Post 4438855)
why is there a tomoyo 2.2 package in my repository (and not installed) if it's already included in the kernel?

these are the user-tools, you need them to administrate the rules and domains.
Quote:

Originally Posted by Chriswaterguy (Post 4438855)
Where do I change the kernel's command line parameters?

in /etc/default/grub. Add it to the line GRUB_CMDLINE_LINUX_DEFAULT="security=tomoyo", then do 'update-grub'.
Quote:

Originally Posted by Chriswaterguy (Post 4438855)
What if I want to use the Liquorix kernel?

no idea since I don't know this kernel. Type 'cat /boot/config-whatever | grep tomoyo' to see if the kernel supports tomoyo.


All times are GMT -5. The time now is 03:52 PM.