ISSUE
Customer has requested that unauthenticated access to dpuconfig be restricted at the console.
**** ONLY WORKS ON CENTOS7 ****
RESOLUTION
1. Connect to appliance via SSH
2. Run the following commands to disable the dpuconfig tty1 terminal service.
SYSD=/etc/systemd/system;
systemctl stop dpuconfig\@tty1.service;
[ -f ${SYSD}/getty.target.wants/dpuconfig\@tty1.service ] &&
mv -f ${SYSD}/getty.target.wants/dpuconfig\@tty1.service /usr/lib/systemd/system ||
systemctl disable dpuconfig\@tty1.service
3. Enable and start the stock tty1 terminal service.
systemctl enable getty\@tty1.service
systemctl start getty\@tty1.service
ROLLBACK
1. Connect to appliance via SSH
2. Run the following commands to enable dpuconfig tty1 terminal service:
systemctl enable dpuconfig\@tty1.service
systemctl stop getty\@tty1.service
systemctl disable getty\@tty1.service
systemctl start dpuconfig\@tty1.service