Sponsored Content
Operating Systems Solaris Assigning two hostname to single server Post 302268211 by otheus on Monday 15th of December 2008 07:44:17 AM
Old 12-15-2008
What "hostname" returns actually depends on a number of things. I think in Solaris it depends on what is the name of the first hostname of the first interface given at boot time in
/etc/hostname.XXXX, where XXXX is the name of an ethernet interface. Hopefully a Sun expert can elaborate on this.

In fact, you will get the SAME ip for different hostnames. Do you WANT different IPs??
 

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

DCHP server assigning a wrong Address

Pls could you help me diagnose my problem. I have a system which is a DHCP server and also the Remote Access Server. The DHCP server allocate normal address within the scope range to the LAN system. why it allocates abitrary number such as 169.254.217.90 255.255.0.0 class B address to the remote... (1 Reply)
Discussion started by: kayode
1 Replies

2. Shell Programming and Scripting

assigning a variable containing hostname

Hello.. Here is a small doubt.... I need to assign root@hostname to variable.. where hostname is the system variable... when i give variable="root@$hostname" its not working... pls help..me thanks in advance esham (4 Replies)
Discussion started by: esham
4 Replies

3. UNIX for Advanced & Expert Users

how do change hostname of a unix server

what command do you use to change a unix server name. i've tried hostname, but when the unix server is rebooted, it reverts back to the old server name. regards venhart (3 Replies)
Discussion started by: venhart
3 Replies

4. Red Hat

SEt two hostname in a linux server

Friends , Can I set two hostname in a Linux server at a time ? I want to give two hostname of my Linux server , is it possible to do ? Plz inform .. .. (2 Replies)
Discussion started by: shipon_97
2 Replies

5. UNIX for Dummies Questions & Answers

get the server's hostname

i read that if i issue : cat /etc/sysconfig/network > textfile i will be able to determine the hostname of the server that my linux workstation is connected to. but there are several other lines outputted that i do not need. i just need the hostname part. is there any other unix... (2 Replies)
Discussion started by: mbaste2
2 Replies

6. Solaris

my sun solaris 10 cannot ping and nslookup other server using hostname.

hi.... i have sun solaris 10 server, fedora 10, and Windows Server.. i cant ping my sun solaris 10, fedora 10 and Windows Server using hostname (etc: ping winserver.bengkel2.com), but i can ping all using IPV4 and IPV6 address.. can u give some suggestion to solve my problem or some idea to... (3 Replies)
Discussion started by: izuan_7657
3 Replies

7. Solaris

2 hostname in one server

Hi, We have one server originally named <SERVERA>. Now we plan to put another network card & add another hostname <SERVERB>. Later, we will need to change hostname from <SERVERB> to <SERVERC>. I know that we need to plumb a new ip & add to /etc/hosts & /etc/hostname.<interface>. Is there... (2 Replies)
Discussion started by: beginningDBA
2 Replies

8. AIX

Assigning Domain Server Breaks rlogin

Most of my Unix servers do not have access to the internet. We have a test box that I want to use to receive all root email from the other unix boxes locally. i want to then have the test box able to .forward all these emails over the internet to me. I can give the test box a dns server and it can... (10 Replies)
Discussion started by: herot
10 Replies

9. Red Hat

After umount -lf: kernel: nfs: server HOSTNAME not responding, timed out

Greetings! I'm testing a failover solution for NFSv4 on RHEL6 with latest updates. My script umounts (umount -lf /share) the faulty NFS share if it sees that's hanging on the client (the NFS daemon is down on the NFS server) and it mounts the share from another healthy NFS server. Sometimes... (4 Replies)
Discussion started by: Arsene Lupen
4 Replies

10. Shell Programming and Scripting

Perl : Assigning multile hash values to a single array

I know that @food = %fruit; Works. But how do I assign %fruit and %veggies to @food ? (2 Replies)
Discussion started by: popeye
2 Replies
wnnaccess(1M)						  System Administration Commands					     wnnaccess(1M)

NAME
wnnaccess - Access control over Wnn6 Kana-Kanji conversion server/dictionary lookup server SYNOPSIS
/usr/sbin/wnnaccess [-D jserver_name] [-ds wnnds_name] [-L LANG_name] [ -| + [hostname | username] ] DESCRIPTION
wnnaccess adds or deletes hosts and users, obtains the current access control information, enables or disables access control for access permission retained by the Wnn6 Kana-Kanji conversion server/dictionary lookup server. OPTIONS
The following options are available. -D jserver_name Specifies the Wnn6 Kana-Kanji conversion server (jserver) to work on. If this option is omitted, wnnaccess refers to the serverdefs file and determines the Kana-Kanji conversion server to work on. The Kana-Kanji conversion server must be specified in the following format. hostname Kana-Kanji conversion server that uses the well-known port number(22273) on host hostname hostname:no Kana-Kanji conversion server that uses port number of " the well-known port number plus no" on host host- name hostname/port_noKana-Kanji conversion server that uses port_no as port number on host hostname -ds wnnds_name Specifies the Wnn6 dictionary lookup server (wnnds) to work on. The dictionary lookup server must be specified in the following format. hostname Dictionary lookup server that uses the well-known port number(26208) on host hostname hostname:no Dictionary lookup server that uses port number of "the well-known port number plus no" on host hostname hostname/port_noDictionary lookup server that uses port_no as port number on host hostname -L LANG_name Specifies the language. The language is used to refer to the serverdefs file and determine the server to connect. Specify ja for the Solaris releases (Japanese version). If no options are specified, wnnaccess writes the current access control information. The first line shows the current status of access control enabled or disabled. The second and following lines show hosts and users that are given access rights as in any of the following formats: host-name All users can access from this host. host-name: No users can access from this host. host-name:user-name,user-name,..Only users shown in the list can access from this host. @user-name This user can access from any host. Specifying - option only enables access control. Specifying + option only disables access control. If access control is disabled, no restriction is imposed on connection to the server. If + option and hostname| username are specified, the host or user will be added to the access control. If - option and hostname| username are specified, the host or user will be deleted from the access control. The format of hostname| username is the same as in displaying the current access control information. If neither - nor + option is specified, the behavior will be the same as in specifying + option. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |Availability |SUNWjwnsu | +-----------------------------+-----------------------------+ SEE ALSO
jserver(1M), wnnds(1M), wnnhosts(4), wnn_serverdefs(4) SunOS 5.10 10 Jan 2003 wnnaccess(1M)
All times are GMT -4. The time now is 01:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy