I create a shiny new jail from scratch.
I use 'passwd' to set the root password like so:
Now I want to log into the jail properly, so:
I get prompted for a password but login rejects the password.
I can bypass the password requirement like so:
However, I'd like the root password to actually work. Common documentation suggests this should work.
I've also tried running 'passwd' after forcibly loggin into the jail. Later login without '-f' won't accept the password.
I use 'passwd' to set the root password like so:
Code:
chroot /path/to/jail passwd root
Now I want to log into the jail properly, so:
Code:
jexec -l <jail-name> login root
I get prompted for a password but login rejects the password.
I can bypass the password requirement like so:
Code:
jexec -l <jail-name> login -f root
However, I'd like the root password to actually work. Common documentation suggests this should work.
I've also tried running 'passwd' after forcibly loggin into the jail. Later login without '-f' won't accept the password.