gradm in learning mode - problem

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

gradm in learning mode - problem

Postby marek » Sat Sep 21, 2002 4:16 pm

Hi!
I'm new to grsec, and i've got a problem witch gradm in learning mode.
I work on debian 3.0, kernel 2.4.19 witch grsec 1.9.6, and gradm 1.5
When i enable learning mode for, let's say /usr/bin/passwd, by giving it the lowes privilages (NOFILES 0 0 , etc) as stands in your howto.
Then i enable grsec by gradm -E, type passwd and recieve : too many open files. In howto it is written, that :

"What the learning mode does is log every access attempt that would have been denied by your ACL for that process, while allowing the access to occur"

so I shouldn't ever recieve such a message. To make things worse,
after disableing grsec and performing gradm -L -O /etc/grsec/acl
gradm only writes dynamically linked libraries that passwd needs (nothing special, i can do the same witch ldd `which passwd`), and limits remain equal to 0. Tell me what can I do, or at least give some more actual howto....
marek
 
Posts: 2
Joined: Sat Sep 21, 2002 4:05 pm

Postby spender » Sun Sep 22, 2002 7:43 pm

Use grsecurity 1.9.7. 1.9.6 isn't compatible with gradm 1.5. Also if you have any old learning logs in your logfile, you should remove them, as they might not be handled correctly by the new parser.
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm


Return to grsecurity support