• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

localhost question on Redhat 7.3

Blayze

Diamond Member
when I login to my Linux box it brings up a box that says Welcome to Linux at localhost. While in the console it always has my username@localhost

is there anyway to change that? (Linux Newbie here... 🙂 )
 
This post might have been avoided had The great AT Linux/BSD/*NIX FAQ project! not been unstuck! :disgust:


Q: How do I set domainname and get it to survive a reboot?
A: You have to initialize the domainname on boot. The network services reset at every reboot. Thus, in order to set the domainname during boot, do the following:

In etc/sysconfig/network add in the following lines:
NISDOMAIN='xxxxxx.xxx'

In /etc/rc.sysinit add in the following lines:

# Set the NIS domain name
if [ -n "$NISDOMAIN" ]; then
action "Setting NIS domain name $NISDOMAIN" domainname $NISDOMAIN
else
domainname ""
fi

right after the lines:

# Set the hostname.
action $"Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME}
 
Back
Top