Will someone please tell me the commands to accomplish the following? I'm running fedora core 4 (specifically, 2.6.11-1.1369_FC4). I'm looking for actual commands, not websites or vague restatements of the problem. Thanks!
1. It is required that the command hostname returns only the computer name and not the fully qualified domain name. "hostname" returns "localhost.localdomain" for me currently.
2. The file /etc/hosts should contain at least the following lines:
127.0.0.1 localhost
x.x.x.x <HOSTNAME>.<DOMAINNAME><HOSTNAME>
my /etc/hosts contains:
127.0.0.1 localhost.localdomain localhost
Is that sufficient, or do I add a line to /etc/hosts?
3. How do I deactivate NIS/NIS+?