[an error occurred while processing this directive]
 
The current U.S.
threat level is:
[an error occurred while processing this directive]
US Dept. of Homeland Security

Page Navigation:

Hints

Copyright

Announcements:

 

06/09/2006 New IPv6 block has been assigned.

Search Site:

[an error occurred while processing this directive]

Translate this
website to:

American flag German flag Chinese flag Japanese flag S. Korean flag Frenchie flag Italian flag Portuguese flag Spainish flag Russian flag Netherland's flag Greek flag
Registered Linux User #349994
Registered KDE User #2431
Google
Web
www.borgnet.us
ww2.borgnet.us

Dazuko HOWTO():

                             Mandriva Linux Dazuko HOWTO
                      By Scott Grayban (sgrayban AT borgnet.us)
----------------------------------------------------------------------------------------

This HOWTO licensed under the GNU FDL.
http://www.gnu.org/licenses/fdl.txt
-------------------------------
This HOWTO is for ANY Mandriva kernel installed.
As of writing this HOWTO was written using the linux-2.6.11-12mdk version
but as stated it can be used for any kernel installed.
-------------------------------
Prerequisite:
Have gcc/cc , pico, vi, nano, or joe installed and know how to use them.
Have the source for Dazuko.
Have the kernel source.
Basic knowledge on compiling.
--------------------------------


1) Make sure you have downloaded the kernel-source from urpmi first.
urpmi kernel-source <<---- will install the current kernel's source

2) cd /usr/src/linux

$ make menuconfig
Security options -> Enable different security modules [*]
Security options -> Default Linux Capabilities 
Rule Set Based Access Control -> Rule Set Based Access Control (RSBAC) [ ]
exit, saving changes

$ make && make modules_install && make install
**** NOTE >> I highly suggest you edit the Makefile's first few lines and name
the new kernel to something other then the default ones below.
*************
EXTRAVERSION = -12mdkcustom
NAME=My Kernel Name
*************
Change the 'mdkcustom' to something you wish
For example mine is the following:
EXTRAVERSION = -12Borg
NAME=Borgnet Cube 2

3) Edit '/etc/modprobe.preload' and add to the top the following:
# /etc/modprobe.preload: kernel modules to load at boot time.
#
commoncap
dazuko
capability

4) Reboot into the new kernel


5) (build dazuko)
$ cd 
$ ./configure
$ make

(install dazuko kernel module)
$ cp dazuko.ko /lib/modules/`uname -r`/kernel/security
$ depmod -a

5)Reboot into the new kernel

6) (load Dazuko) ***** If you didn't add it to modprobe.preload
$ modprobe dazuko

7) (create Dazuko device)
$ mknod -m 600 /dev/dazuko c `grep dazuko /proc/devices | sed "s/ .*//"` 0


**** Important Note ****
capability & commoncap MUST BE loaded or bind will NOT start since it
uses the 'capset' function

**** AntiVir note
If you are installing the avguard choose (k) for the type of dazuko module
since its loaded at boot time.

Mandriva Linux Website: http://www.mandrivalinux.com
Dazuko Website: http://www.dazuko.org
Author's Website: http://www.borgnet.us
GCC Website: http://gcc.gnu.org
Kernel Website: http://www.kernel.org

  
also in PDF
Copyright():
??? @ MEMBER OF PROJECT HONEY POT
Spam Harvester Protection Network
provided by Unspam
Creative Commons License
All content on this website (including text, photographs, audio files, and any other original works), unless otherwise noted, is licensed under a Creative Commons License.

Star Trek® is a registered trademark of Paramount Pictures.
No copyright infringement is intended and no profit is being made.

Website & Content
Copyright © 1997-2005 Scott Grayban
Legal Notice /\/\ Copyright Infringement /\/\ Privacy/TOS /\/\ Sitemap
Page last updated: Sunday December 25, 2011 - 11:58:14 PM PST
$Id: dazuko-HOWTO.html 167 2006-06-18 08:27:59Z sgrayban $