Page 1 of 1

Invalid password when use gradm -D

PostPosted: Thu Feb 12, 2009 11:34 am
by tycjan
Hello.

I have a problem. When i try disable gradm i see "Invalid password". My password it's 100% correct. I try remove pw file from /etc/grsec and set new password.

Code: Select all
gradm -P
gradm -P admin
then
gradm -a admin
gradm -D


the same result, invalid password. How i can fix it?

P.S
I use kernel 2.6.28.4 on slackware 12.0.

Re: Invalid password when use gradm -D

PostPosted: Thu Feb 12, 2009 7:10 pm
by tycjan
btw, if i reboot the machine gradm will be still enable?

Re: Invalid password when use gradm -D

PostPosted: Thu Feb 12, 2009 10:17 pm
by spender
Any changes to /etc/grsec/pw while the RBAC system is enabled have no effect, for obvious security reasons.

If you reboot the machine, the RBAC system won't be enabled unless you explicitly added it to your init scripts.

-Brad

Re: Invalid password when use gradm -D

PostPosted: Sat Feb 14, 2009 12:21 am
by tycjan
Thank You for answer. I reboot my machine and everything is ok. Now i delete pw file and run again gradm for new password. Thank You for good work.