This is from a live /etc/hosts file for Solaris 10. Assuming your fqdn is correct, and you follow what I pasted, things should be okay. /etc/hosts is really a sym link to /etc/inet/hosts, correct?
Last edited by jim mcnamara; 08-01-2013 at 11:33 AM..
Reason: Remove real data
Hi-
I need the cpp call that will tell me the full path to the app I'm running in. For example, I'm running in a loaded library for either mozilla or firefox, but would like to know the full path to the executable
/usr/bin/firefox
/usr/bin/mozilla
/usr/local/firefox1_5
etc...
(For... (4 Replies)
Hi Friends..
I have a small problem with the hostname of my system.I had installed Solaris 10 X86 on Vmware in my windows 2000 system.After booting of my solaris system,if i give check-hostname command it says ,,
hostname is not fully qualified ,,change the hostname to hostname.xxx.xxxxxx.com... (3 Replies)
Hi
I have a NIM server on AIX 5.3.08.02. I had to change the host name and I now have nimsh connection issues to the NIM clients. All host files and DNS entries are correct with the new host name. I have tried editing the niminfo files on the NIM server and NIM clinet. I have tried removing the... (2 Replies)
I want to change the following lines in /etc/hosts on FreeBSD:
::1 localhost localhost.my.domain
127.0.0.1 localhost localhost.my.domain
into the following lines
::1 localhost foo.example.com
127.0.0.1 localhost foo.example.com
I have the following script to do... (5 Replies)
hi all.
am unable to ping a freebsd machine using fully qualified domain name from a windows machine.
i have already set the fqdn for the machine.
plz advise me.
thanks. (2 Replies)
hi
actually i want to get fully qualified path name of the file when the file name is entered as command line argument while running a shell script
ex. if i run the shell as $./test.sh ./nsdnet_file.csv
the it should display me the full path of the file like
/dialp/Release/bin/nsdnet_file.csv... (3 Replies)
Hi,
I would like to know if there is a command similar to scsimgr in HP-UX that
can help me change the algorithm and reserve_policy attributes of all luns presented to an AIX host.
Otherwise I would have to use,
chdev -l hdiskX -a algorithm=round_robin reserve_policy=no_reserve
in a... (1 Reply)
1-How can i change root password of 5 Fedora 11 machines (server1 server2 server3 server4 server5) with a single script ,
for example make password : 123456
NB. from server1 i can via ssh connect to the others machines without a password
Please help. (3 Replies)
Hi,
I got instructions from Security audit team for Solaris-10 server. They mentioned - "The sshd configuration on the host supported weak host keys and allowed password authentication on Solaris server. Enable stronger keys (2048 or 4096 bit)".
I am not clear enough, what they mean by weak... (7 Replies)
Discussion started by: solaris_1977
7 Replies
LEARN ABOUT HPUX
hosts
hosts(4) Kernel Interfaces Manual hosts(4)NAME
hosts - host name data base
DESCRIPTION
The file associates Internet (IP) addresses with official host names and aliases. This allows a user to refer to a host by a symbolic name
instead of an Internet address.
This file contain all addresses for local interfaces that needs at boot time (see ifconfig(1M)). When using the name server (see
named(1M)), or Network Information Service (see ypserv(1M)), this file often serves as a backup when the server is not running. In such
circumstances, it is a common practice for to contain a few addresses of machines on the local network.
should contain a single line for each host with the following information:
internet_address official_host_name aliases
The internet_address can be an IPv4 or IPv6 address specified in the conventional Internet dot notation. See inet(3N) or inet6(3N) for
more information on Internet address manipulation routines.
aliases are other names by which a host is known. They can substitute for the official_host_name in most commands. For example:
In this example, users can use remote login on by using the command:
instead of
If your system is in a domain naming environment, an official host name consists of the full domain extended host name. For example:
(space or tab character). Items are separated by any number or combination of space or tab characters (blanks). A character indicates the
beginning of a comment. Characters from the to the end of the line are not interpreted by routines that search the file. Trailing blanks
are allowed at the end of a line.
For the Internet, this file is normally created from the official host database maintained at the Network Information Control Center (NIC),
although local changes may be required to bring it up to date with respect to unofficial aliases and/or unknown hosts.
Host names can contain any printable character other than a white space, newline, or comment character.
EXAMPLES
See
AUTHOR
was developed by the University of California, Berkeley.
SEE ALSO gethostent(3N), inet(3N), nsswitch.conf(4).
hosts(4)