ops: I had to reinstall pc-bsd xD
I changed the line in the file that you told me, loged in as root, installed some pbi's and then I wanted to log in as user but I couldn't. It redirected me to login prompt all the time.
I'm sure that I didn't damage kdmrc file, because I only changed AllowRootLogin=false to true. Do you know what might have happened?