Advanced

Improve Security with Linux PAM

Posted by IdaAshley on · 5 comments
IBM/developerWorks; By Robb R. Romans
Mail this story
Print this story

Linux Pluggable Authentication Module (PAM) can help you protect world-writeable shared directories from abuse. This article for Linux system administrators lays out the steps to enable namespaces with PAM. The pam_namespace module creates a separate namespace for users on your system when they login to protect users from several types of security attacks.

Full Story

  Nav
» Read more about: Groups: IBM, Linux; Story Type: News Story

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (5)

Plus the article assumes you're not using SELinux. But if you're concerned enough about system security to mess with PAM, that doesn't seem like a good assumption.

The good news is The Linux-PAM System Administrators' Guide http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/Linu... is thorough and helpful. I remember way back when the old-style PAM was simple; a single, well-documented file. Then it was "improved." Those were the dark years. But the documentation finally caught up, hurrah!
> But if you're concerned enough about system security to mess with PAM, that doesn't seem like a good assumption.

It seems like an OK assumption to me. I'm pretty concerned about security, as are most SAs, but I don't used selinux. I suppose that all depends on what distros you use. The redhat folks use selinux, the suse and ubuntu folks use app armor.

The people I know who work with red hat servers have always ended up turning off selinux in frustration after struggling to get basic services e.g a website up and running.
Quoting: The people I know who work with red hat servers have always ended up turning off selinux in frustration after struggling to get basic services e.g a website up and running.


Me too, and I've spent a lot of time studying it. Ok then, never mind!
novell's apparmor any one tried :P even Ubuntu is bundling apparmor default in gutsy,

BTW SE linux -some easy configuration tool esp GUI should be provided in fedora distros :- JIMHO
> novell's apparmor any one tried

Sure, it's pretty simple to set up. There are pre-defined profiles for some common programs, and there is also a complain mode, which allows you to monitor a program in action, watch the apparmor complaints in the syslog, create a profile for it based on the actions reported, then switch it into enforce mode.

All in all, it's less frustrating to work with than selinux. Of course it is not the 100% answer to every possible security problem, no tool is, but it is quite useful

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post