Could not open /etc/grsec/pw after gradm2 compilation

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

Could not open /etc/grsec/pw after gradm2 compilation

Postby koshie-Final-Release » Thu Sep 22, 2011 10:19 am

Hi,

I'm trying to compile gradm2, when I'm typing make install in root I've this result :

root@Alpha:/home/koshie/grsecurity/gradm2# make install
Installing gradm...
Installing grlearn...
Installing gradm manpage...
Setting up grsecurity RBAC password
Password:
Re-enter Password:
Password written to /etc/grsec/pw.
Could not open /etc/grsec/pw
open: No such file or directory

make: *** [install] Erreur 1


And of course when I'm typing gradm -P I've the same error.

In /sbin/ I've gradm and I don't found log of gradm compilation.

I've googled and search on this forum, I can't find a way to fix that.

PS : I've edited the subject of the topic, gradm2 is compilated.

Koshie.
Last edited by koshie-Final-Release on Sun Sep 25, 2011 9:17 pm, edited 1 time in total.
koshie-Final-Release
 
Posts: 3
Joined: Sat Sep 03, 2011 1:04 am

Re: Can't compile gradm2 - Could not open /etc/grsec/pw

Postby koshie-Final-Release » Sun Sep 25, 2011 8:59 pm

Up ?
koshie-Final-Release
 
Posts: 3
Joined: Sat Sep 03, 2011 1:04 am

Re: Could not open /etc/grsec/pw after gradm2 compilation

Postby tjh » Wed Oct 05, 2011 4:29 am

Delete /etc/grsec and try again?
Also, are you running make install as the root user?
tjh
 
Posts: 102
Joined: Sat Oct 16, 2004 8:19 pm


Return to grsecurity support