I try to setup my first grsec.
I have here my default acl:
- Code: Select all
role default
subject / {
/ h
-CAP_ALL
connect disabled
bind disabled
}
but everytime I want to enable learning,
there comes an error:
- Code: Select all
root@pc1:/etc/grsec# gradm -F -L /etc/grsec/learning.logs
No password exists for special role admin.
Run gradm -P admin to set up a password for the role.
root@pc1:/etc/grsec# gradm -P admin
Setting up password for role admin
Password:
Re-enter Password:
Password written to /etc/grsec/pw.
root@pc1:/etc/grsec# gradm -F -L /etc/grsec/learning.logs
No password exists for special role admin.
Run gradm -P admin to set up a password for the role.
....
In grsec PDF manual there is that I shell began learning with:
- Code: Select all
gradm -F -L /etc/grsec/learning.logs
So, what I do wrong?
I think a typical Newbie question, sorry for boring you.
But I try since 2 days, study manual and I really cannot find out the failure
Gruss,
Peter