Hyvaa Paivaa!
Пытаюсь обучить gradm:
Выдержка из оффдоки:
Using the learning mode is very simple. All you have to do is add “l” to the subject mode of the process, you want to enable learning for. Enable the ACL system with gradm –E. Run the application(s) you enabled learning mode for several times. This is important, since the learning mode uses a threshold–based system to determine when access should be given to a file or whether it should be given to a directory. If 4 or more similar accesses are made in a single directory (such as writing to several files in /tmp), access is granted to that directory instead of the individual files. This reduces the amount of rules you have and ensures that the application will work correctly after the final ACLs are compiled.
Once you feel you’ve given the application the normal usage it would see in real life, disable the ACL system with gradm -D (or alternatively, go into admin mode with gradm -a), and use This will place the new learned ACLs at the end of your ruleset. Simply remove the old ACLs and you’re ready to go.
http://www.grsecurity.net/gracldoc.htm#Using_Gradm_and_the_Learning_Mode
Делаю все как написано - добавляю в /etc/grsec/policy:
subject /usr/sbin/metalog lo
/ h
-CAP_ALL
# gradm -E
# /usr/sbin/metalog
# gradm -D
# gradm -L -O /etc/grsec/acl
# cat /etc/grsec/acl
а там пусто...
???
Заранее спасибо!
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум Поддержка гибридной графики на фряхе (2021)
- Форум Samba 4 && запуск ubuntu 14 (2014)
- Форум Кто-то ставил Lingvo 6.0 под wine? (2002)
- Форум CONFIG_VFIO_NOIOMMU (2016)
- Форум vsftpd: проблемы с правами доступа для anonymous (2005)
- Форум Две новости: (1) explorer.exe: I will eat your Linux! (2019)
- Форум Наведите пример флага " -isystem директорий " (2015)
- Форум Листая HIG (2013)
- Форум Настройка vsftpd (2007)
- Форум [DEBIAN] kde4, akonadi глючат (2011)