Hello,
I am getting:
[root ~/gradm]# gradm -a
Password:
Error writing to /proc/sys/kernel/grsecurity/acl
write: Invalid argument
[root ~/gradm]# cat /proc/sys/kernel/grsecurity/acl
cat: /proc/sys/kernel/grsecurity/acl: Operation not permitted
[root ~/gradm]# ls -fal /proc/sys/kernel/grsecurity/acl
-rw------- 1 root root 0 Jan 5 10:10 /proc/sys/kernel/grsecurity/acl
Grsecurity is configured with HIGH option. Actually, I have tried all options and the above error is present in all kernel compiles. Password is correct.
When I log in as a normal user and do ps, it shows only the processors belonging to the user. Also logs are there so grsec works.
When I run nmap:
[root /etc/grsec]# nmap -O localhost
Starting nmap V. 3.00 ( http://www.insecure.org/nmap/ )
Interesting ports on localhost.localdomain (127.0.0.1):
(The 1600 ports scanned but not shown below are in state: closed)
Port State Service
22/tcp open ssh
Remote operating system guess: Linux Kernel 2.4.0 - 2.5.20
Uptime 0.024 days (since Sun Jan 5 08:45:59 2003)
Nmap run completed -- 1 IP address (1 host up) scanned in 7 seconds
Why does nmap show the OS correctly when grsec is installed? Isn't grsec supposed to confuse OS guessing?
There was a similiar post below but it did not solve my problem. Sorry for repeating.
OS is Redhat 8.0, latest grsec with kernel 2.4.20. No patches applied to the kernel except the grsec patch.
Thanks!
Jimmy