Can't run su command after to install FreeBSD 11.0

Hi everyone,

Just I'm installing FreeBSD 11 (in a new machine), and after to install it I can't run "su" command, in the installation process I've added the new user to the wheel group, but anyway I can not run that command.

(Well, I can run SU command but I can not access as root.)

I didn't have that problem when I installed FreeBSD 10.1 .

I'm installing it from a USB.

Do you have any idea?
Thanks
 
Pheraps it's a stupid question, but are you sure that the root account is not locked?
mmm, good question....

I think the root it isn't locked .... how can it verify it? it's enough if I see the passwd file and try to find *LOCKED* keyword?
 
One more thing... I've installed it with ZFS, could it be a problem? (I've used it before and I've never had a problem)
 
From my understanding it means that you can not login as root on a console, as if you have forgotten your root password. Only the path via security/sudo may work if installed and configured correctly.
 
One more thing... I've installed it with ZFS, could it be a problem? (I've used it before and I've never had a problem)
I do not think that ZFS causes such a problem. I have only one box with ZFS and no issues. Others use UFS. But everything is still on FreeBSD 10.3.
 
From my understanding it means that you can not login as root on a console, as if you have forgotten your root password. Only the path via security/sudo may work if installed and configured correctly.
Yes, I can not login as root, but I have not forgotten the password.... also I've reinstalled it many times (with simple passwords as 123456), but I can't login as root.
 
Yes, I can not login as root, but I have not forgotten the password.... also I've reinstalled it many times (with simple passwords as 123456), but I can't login as root.
The please boot in the single user mode. This mode has no password. In this mode it should be possible to change the root password by vipw(8). I think it is necessary to re-mount the root file system to read-write for doing that. If this does not work it should be possible to delete the asterik * in the password file to remove the password. Both ideas if I remember correctly. This is nothing what I did that often.
 
I have just tried that. mount -a in single user mode mounts the contents of /etc/fstab that vipw(8) works. But I have not tried to change my root password ;).
 
FORGET, this post!!, It was MY FAULT!!
I don't know what was the problem, I've downloaded the image again and I've created the USB again and now it works.

Thanks a lot for your comments!!
 
I don't know what was the problem, I've downloaded the image again and I've created the USB again and now it works.
Sometimes there can be problems with the download ore USB devices. Regarding the download it is possible to verify the checksums. Regarding the USB stuff there are no options. I guess it is not really your personal fault. And it is good to know that it works now.
 
mmm, good question....

I think the root it isn't locked .... how can it verify it? it's enough if I see the passwd file and try to find *LOCKED* keyword?
Yep. :)
FORGET, this post!!, It was MY FAULT!!
I don't know what was the problem, I've downloaded the image again and I've created the USB again and now it works.

Thanks a lot for your comments!!
Probably a corrupted image. Nothing unsolvable. :)
 
Back
Top