HI
when I launches gradm (gradm - E), users who are chroot (/home/user/./) cannot connect in ssh. I have an error "- bash: error while loading shared libraries: libncurses.so.5: failed to map segment from shared object: Permission denied "
as I don’t arrive, I made in the file acl a very "open" configuration :
#sample default process acl for grsecurity
/ {
/ r
/opt rx
/home rwx
/mnt rw
/dev rw
/dev/mem h
/dev/kmem h
/bin rx
/sbin rx
/lib rx
/usr rx
/etc rx
/proc rwx
/proc/sys r
/root r
/tmp rw
/var rwx
/var/tmp rw
/var/log ra
/boot r
/etc/grsec h
-CAP_LINUX_IMMUTABLE
-CAP_NET_RAW
-CAP_MKNOD
-CAP_SYS_RAWIO
-CAP_SYS_MODULE
}
/bin/login {
/ rwo
/etc rwo
/bin rwo
/var rwo
/proc rwo
}
/usr/local/sbin/sshd {
/ row
/etc ro
/var rwo
}
/bin/su {
/ ro
/etc ro
}
/bin/bash {
/ row
/proc rwo
}
This is just for see
So, for users libraries, I’ll try cp –Rl (hard link) , and cp –R (real files) ….. just for see…
When I kill gradm (gradm –D) I’ve no problem. So my configuration about chroot, openssh is ok.
I’ll try “low level†in kernel option, but it’s the same. I think, the problem comes acl file, but even with all the examples which I could find on the forum or the mailing-list, I don’t see….. why "failed to map segment from shared object.." ?