PXE login

I'm trying to set up a FreeBSD PXE Server and have got as far as getting a system booting up remotely from it. After booting up I am presented with a BSDINSTALL menu where the options are <Install> <Shell> <Live CD>.

If I select Live CD I am presented with a Login prompt. How do I determine the correct Login/password?

And how do I specify what program is run when FreeBSD boots up?
 

What I was looking for was to see how BSDINSTALL was invoked when FreeBSD started up. I didn't see anything in rc.conf(5) which shed any light on that.

Are you completely sure? Please, be more verbose and try to provide more details.

https://www.freebsd.org/doc/handbook/using-live-cd.html

I had read that previously, that's why I didn't understand why it wouldn't work.

I have now upgraded the PXE image to FreeBSD 10.2-RELEASE

Now I get the following msgs when I try and login as 'root' - they didn't occur previously.

Code:
login: root
Aug 28 11:10:53   login: in openpam_load_file(): /etc/pam.d/login: Permission denied
Aug 28 11:10:53   login: pam_start(): system error

I can only assume the some permissions on the PXE image are incorrectly set or that root login is disabled...
 
Check out bsdinstall(8) man page and the BSDInstall wiki.

Code:
login: root
Aug 28 11:10:53 login: in openpam_load_file(): /etc/pam.d/login: Permission denied
Aug 28 11:10:53 login: pam_start(): system error
Did you see anything suspicious in /var/log/messages?
 
Check out bsdinstall(8) man page and the BSDInstall wiki.

Code:
login: root
Aug 28 11:10:53 login: in openpam_load_file(): /etc/pam.d/login: Permission denied
Aug 28 11:10:53 login: pam_start(): system error
Did you see anything suspicious in /var/log/messages?

If I'm logging in to a PXE booted system, I'm not sure where any logging is held... There is nothing in /var/log/messages on the PXE server, although I don't know if any logging should be done to /tftpboot/var/log... Maybe I don't have the permissions set correctly on '/tftpboot'.
 
Try chmod 755 /etc/pam.d

Furthermore you can try to reinstall the world and merge the pam(3) configuration in /etc/pam.d. You can check the pam modules '.so' also in /usr/lib/pam_*.so
 
Try chmod 755 /etc/pam.d

Furthermore you can try to reinstall the world and merge the pam(3) configuration in /etc/pam.d. You can check the pam modules '.so' also in /usr/lib/pam_*.so

I expected to be able to login as per handbook using the Live CD option, without having to mess around with the system. If the handbook is correct then I must have installed the PXE distribution incorrectly..
 
Back
Top