Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Linux Trustees 3.0 for Gentoo users!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
matthead
n00b
n00b


Joined: 04 Dec 2002
Posts: 63

PostPosted: Wed Sep 14, 2005 4:10 am    Post subject: Linux Trustees 3.0 for Gentoo users! Reply with quote

Probably not too many of you are familiar with the Linux Trustees project. Trustees are an alternative security system to your usual UNIX-style mode and ACLs. If you've ever used Novell Netware (or set permissions in Novell eDirectory) then you're used trustees. The Linux Trustees project brings the power and flexibility of trustee permissions to Linux!

Unfortunately, the last version of Linux Trustees in Portage is sys-fs/trustees-2.10, which is far out of date - it works only with 2.4 kernels. Version 3.0 has been out for a while, but until now has required the user to manually install the software. No more! Today (well, tonight; local time is 23:09) I release an ebuild which lets Gentoo users install Trustees for their Linux 2.6 systems with the simplicity and ease of use of the Portage software system.

Since the ebuild in not yet in portage (I've submitted a bug in Bugzilla, which I think is the proper place to get this added), I'm afraid it's not quite as straighforward as "emerge trustees" yet!

First you'll need to download the tarball which contains the ebuild & digest files:
http://www.ephess.net/gentoo/trustees-3-ebuild.tar.bz2

Unzip the tarball:
Code:
tar jxvf trustees-3-ebuild.tar.bz2

You'll get a directory "sys-fs". This directory should be moved into your local Portage overlay. You're unfamiliar with overlays? You should go read this explanation, but the quick & dirty setup is below.

Creating a Portage Overlay:
Add the following line to /etc/make.conf:
Code:
PORTDIR_OVERLAY="/usr/local/portage"

Create the directory:
Code:
mkdir -p /usr/local/portage

Now move the extracted Trustees directory into the overlay:
Code:
mv sys-fs /usr/local/portage


Now you're done!
Code:
emerge -p trustees


Caveat Temptor! *
Make sure you're going to get version 3.0, because 2.10 does not work for 2.6 kernels! Be aware that this is not masked as unstable. I think for now this is fine, since you have to go through such rigmarole to install the ebuild before you can emerge. The only keyword I've added is "x86" so if you're using another architecture, add your arch and let me know if it works! You do have to have CONFIG_SECURITY enabled in your kernel to use trustees (this config option enables the kernel to use alternative security methods). The ebuild should check your kernel and tell you if you don't have it enabled. Do you have problems, questions, comments, etc? Let's hear them!

* probably not good Latin; I was trying to say "beware, tester!"
_________________
Matt
Linux Filesystem Features
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum