Setting up login on serial port on Solaris

1. Ensure that there is are no services defined using: pmadm -l (in order to
remove use pmadm -r -p <name1> -s <name2> where name1 && name2 are taken from
pmadm -l output ).

2. Place serial port parameters in /etc/ttydefs:
echo “conttymy:9600 hupcl:9600 hupcl::” >> /etc/ttydefs

3. Execute:
pmadm -a -p zsmon -s ttya -i root -fu -v `ttyadm -V` -m “`ttyadm -m ldterm,ttcompat -p ‘Enter_your_Hostname login: ‘ -S n -T vt100 -d /dev/term/a -l conttymy -s /usr/bin/login`”

4. Verify by using: pmadm -l

5. Try connecting from the other end(KVM/other server).

6. To allow root login from serial edit /etc/default/login file and comment out CONSOLE=/dev/console (allows root login).

Comments are closed.