* Help with Hardening Linux
@ 2008-06-30 10:04 Barbara Picci
2008-06-30 13:21 ` Andi Kleen
0 siblings, 1 reply; 2+ messages in thread
From: Barbara Picci @ 2008-06-30 10:04 UTC (permalink / raw)
To: linux-kernel
Hi all,
I'm a server administrator (Dell PowerEdge). I usually use Debian.
Before now I used lcap to disable some capabilities (with success
with kernel 2.4).
Now I'm configuring some machines with Debian etch and kernel 2.6.25.
I enable with makemenuconfig "Enable different security models" >>
"Default Linux Capabilities" and my .config is:
#
# Security options
#
CONFIG_KEYS=y
# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
CONFIG_SECURITY=y
# CONFIG_SECURITY_NETWORK is not set
CONFIG_SECURITY_CAPABILITIES=y
# CONFIG_SECURITY_FILE_CAPABILITIES is not set
# CONFIG_SECURITY_ROOTPLUG is not set
CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR=0
I try to install lcap_0.0.6-3.1_i386.deb from packages.debian.org
but, if I louch lcap, instead of the list of capabilities, I've:
/proc/sys/kernel/cap-bound: No such file or directory
I googled on forums, sites, etc. but I can't find a solution.
Thanks in advance
Barbara Picci
--
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Help with Hardening Linux
2008-06-30 10:04 Help with Hardening Linux Barbara Picci
@ 2008-06-30 13:21 ` Andi Kleen
0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2008-06-30 13:21 UTC (permalink / raw)
To: Barbara Picci; +Cc: linux-kernel
Barbara Picci <barbara.picci@sardi.it> writes:
> # CONFIG_KEYS_DEBUG_PROC_KEYS is not set
> CONFIG_SECURITY=y
> # CONFIG_SECURITY_NETWORK is not set
> CONFIG_SECURITY_CAPABILITIES=y
> # CONFIG_SECURITY_FILE_CAPABILITIES is not set
> # CONFIG_SECURITY_ROOTPLUG is not set
> CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR=0
>
> I try to install lcap_0.0.6-3.1_i386.deb from packages.debian.org but,
> if I louch lcap, instead of the list of capabilities, I've:
The capabilities interface changed to require a later input data type
for more capabilities.
You probably need at least to recompile that program with uptodate
kernel headers.
Yes it bit lots of other people too. There's no good workaround.
-Andi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-30 13:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-30 10:04 Help with Hardening Linux Barbara Picci
2008-06-30 13:21 ` Andi Kleen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox