praka123
left this forum longback
Very Happy Hello to All,
I am preparing for RHCE Exam.I have got a couple of problems while configuring NIS Server
in RHEL 4 AS .I followed the below listed steps to configure and the main problem is in NIS Client machines users home directory is not mounted showing mounting user in '/' .
rpms
ypserv
ypbind
yp-tools
I edited vi /etc/sysconfig/network and added NISDOMAIN="www.pjk.com"
#vi /etc/yp.conf
ypserver 127.0.0.1
Started the following daemons: portmap, yppasswdd, and ypserv.
created nis database:
cd /usr/lib/yp/
[root@www yp]#./ypinit -m
services ypbind and ypxfrd started
service ypbind restart
service ypxfrd restart
created a user #useradd nisuser
#passwd nisuser
---
cd /var/yp
#make
done.
now in client machine i run authconfig and selected nis,given domainname=www.pjk.com
server ip=192.168.1.2
restarted ypbind
now,in client i tried to login as user 'nisuser'
and getting error 'not found /home/nisuser',while /home/nisuser is present in nis server.and i
can login in server as 'nisuser'!.I already tried to change permissions ,using /rhome/nisuser
as default homedir for nisuser etc and not working.But I had successfully configured nis server in RHEL 3 using above steps.Is this to do something with selinux>?Please geeks out there help me Idea Very Happy
I am preparing for RHCE Exam.I have got a couple of problems while configuring NIS Server
in RHEL 4 AS .I followed the below listed steps to configure and the main problem is in NIS Client machines users home directory is not mounted showing mounting user in '/' .
rpms
ypserv
ypbind
yp-tools
I edited vi /etc/sysconfig/network and added NISDOMAIN="www.pjk.com"
#vi /etc/yp.conf
ypserver 127.0.0.1
Started the following daemons: portmap, yppasswdd, and ypserv.
created nis database:
cd /usr/lib/yp/
[root@www yp]#./ypinit -m
services ypbind and ypxfrd started
service ypbind restart
service ypxfrd restart
created a user #useradd nisuser
#passwd nisuser
---
cd /var/yp
#make
done.
now in client machine i run authconfig and selected nis,given domainname=www.pjk.com
server ip=192.168.1.2
restarted ypbind
now,in client i tried to login as user 'nisuser'
and getting error 'not found /home/nisuser',while /home/nisuser is present in nis server.and i
can login in server as 'nisuser'!.I already tried to change permissions ,using /rhome/nisuser
as default homedir for nisuser etc and not working.But I had successfully configured nis server in RHEL 3 using above steps.Is this to do something with selinux>?Please geeks out there help me Idea Very Happy