07-18-2006
Change hostname, NIS stops
All,
I have changed my machine name from A202 to B205. All I modified was /etc/hosts, /etc/nodename, hostname.ce0, /etc/net/<stuff needed to change>. But for some reason now NIS does not work. This is not the NIS server. When I telnet in I get "No directory! Logging in with home=/" when I should get /users as my home directory. Also, this does not happen to just me, but all others as well.
Anyone see this before? What did I miss?
Thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
I have 1 NIS and 2 NFS, at every one time, the max number of user logged in is less than 60.
Everytime, I need to use the NIS. The system stops responding for around 10mins and back to normal and again stops responding again and back to normal.
Does anyone knows what is cause... (2 Replies)
Discussion started by: jennifer
2 Replies
2. UNIX for Dummies Questions & Answers
Hi, ( running solaris 8 )
I know how to change the hostname temparily, by login in as root
typing
hostname = xxxxx
but, this obviously goes when the system is rebooted. I'm not sure what files need changing to make this a permant change.
Could anyone help me please? (9 Replies)
Discussion started by: fishman2001
9 Replies
3. UNIX for Advanced & Expert Users
Dear All.
I will like to know beside the following command
"hostname hostname"
what other command that can change the hostname of the Unix.
Thanks. (4 Replies)
Discussion started by: gelbvonn
4 Replies
4. HP-UX
Hello..
I wanted to know how to change IP and Hostname on HPUX system, and I don't want to make it as NIS master either.
Could someone tell me the files I need to modify and make sure it's on network?
Thanks! :o (3 Replies)
Discussion started by: catwomen
3 Replies
5. UNIX for Dummies Questions & Answers
Hi, I asked this question whenI was running solaris 8
and got some very good answers. I've just uograded to Solaris 10 and there seems to quite a few changes so I need to know again.
https://www.unix.com/showthread.php?t=8547
------------
Hi (now solaris 10)
I know how to change the... (2 Replies)
Discussion started by: fishman2001
2 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I am new to Solaris.
I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies
7. Solaris
How do I find a list of hosts under a domainname on a NIS+
I did check nisls command , I could not find any ??? (5 Replies)
Discussion started by: sriram003
5 Replies
8. Red Hat
Hello,
I would like to change the hostname on a Linux server (RHEL4).
I try different methods in vain :
- by using hostname command
- by changing /etc/hosts and /etc/hostname
But after restarting server, the old hostname re-appears... :confused:
And the file ./proc/sys/kernel/hostname... (3 Replies)
Discussion started by: madmat
3 Replies
9. UNIX for Dummies Questions & Answers
How to change host name in NCR Unix version 3.0 release 4.0
I got the OS version and OS release from executing uname -v and uname -r (9 Replies)
Discussion started by: nalina
9 Replies
10. Linux
Hi Good Day!
I have a fedora 8 installed and I wan't to change its hostname since the default hostname is "localhost.localdomain". I wanna change it to something different. Please some one advice what to do. Do I have to change the entry in "/etc/hosts" or there's other way to do it? (7 Replies)
Discussion started by: etcpasswd
7 Replies
LEARN ABOUT SUNOS
ypwhich
ypwhich(1) User Commands ypwhich(1)
NAME
ypwhich - return name of NIS server or map master
SYNOPSIS
ypwhich [-d domain] [ [-t] -m [mname] | [-Vn] hostname]
ypwhich -x
DESCRIPTION
ypwhich returns the name of the NIS server that supplies the NIS name services to a NIS client, or which is the master for a map. If
invoked without arguments, it gives the NIS server for the local machine. If hostname is specified, that machine is queried to find out
which NIS master it is using.
Refer to ypfiles(4) for an overview of the NIS name services.
OPTIONS
-d domain Use domain instead of the default domain.
-t This option inhibits map nickname translation.
-m mname Find the master NIS server for a map. No hostname can be specified with -m. mname can be a mapname, or a nickname for a
map. When mname is omitted, produce a list of available maps.
-x Display the map nickname translation table.
-Vn Version of ypbind, V3 is default.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnisu |
+-----------------------------+-----------------------------+
SEE ALSO
ypfiles(4), attributes(5)
SunOS 5.10 7 Apr 1995 ypwhich(1)