[rsbac] "Unable to lock password into physical memory!"

Amon Ott ao at rsbac.org
Mon Apr 24 09:33:43 CEST 2006


On Freitag 21 April 2006 16:24, Orosz Tamás wrote:
> I tried the rsbac UM module, but if I want to disable or change the 
users's password, I get the following error:
> 
> server:~# rsbac_usermod -P root
> Unable to lock password into physical memory!
> 
> I tried this in global softmode first. 
> 
> The strace output is:
> server:~# strace -e mlock,mlockall rsbac_usermod -P root
> mlock(0x746f6f72, 0)                    = -1 ENOMEM (Cannot allocate 
memory)
> Unable to lock password into physical memory!
> 
> I use rsbac 1.2.5.1 with 2.6.14.4 kernel. 
> 
> What made I wrong? Any suggestions?

This is only a warning, because the password might be swapped out to 
your swap partition. We should make the warning a bit clearer.

Amon.
-- 
http://www.rsbac.org - GnuPG: 2048g/5DEAAA30 2002-10-22


More information about the rsbac mailing list