anand2_p
asked on
user authentication
I need to configure the user from the client get authenticated by NIS rootmaster, to access the resources in the root master. I have installed intel solaris 8 with NIS. and configured as rootmaster.
could any one guide to solve above issue.
could any one guide to solve above issue.
ASKER
Hi ryan,
thanks for your response.
Acutally i am new to NIS.
I have did the client configration as you said , i have verified the connection by "ypwhich -m". It shows all the server maps. I have created a user in ABC.COM domain,(servername -ALPHA). i have configured the client in BETA.
After created the user in abc.com. when i tried to login from the client BETA, with new user name it showing the following error "unable to access home directory click ok to start a failsafe session or cancel to restart login".
could you tell how solve it. Could you tell me how to confiure auto_home ...,
thanks in advance
thanks for your response.
Acutally i am new to NIS.
I have did the client configration as you said , i have verified the connection by "ypwhich -m". It shows all the server maps. I have created a user in ABC.COM domain,(servername -ALPHA). i have configured the client in BETA.
After created the user in abc.com. when i tried to login from the client BETA, with new user name it showing the following error "unable to access home directory click ok to start a failsafe session or cancel to restart login".
could you tell how solve it. Could you tell me how to confiure auto_home ...,
thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi ryan,
thanks for your wonderful help and tips. I have as you said it worked.
thanks for your wonderful help and tips. I have as you said it worked.
/usr/bin/domainname <domain>
Add domainname to defaultdomain file, will automatically set domainname when system reboots.
vi /etc/defaultdomain (One line that has the domainname)
#2. Run YPINIT
/usr/sbin/ypinit -c
#3. Setup /etc/nsswitch.conf for NIS authentication.
vi /etc/nsswitch.conf
passwd: files nis
group: files nis
same for other maps you created.
#4. Start NIS
/usr/lib/netsvc/yp/ypstart
#5. Verify connection
/usr/bin/ypwhich
/usr/bin/ypwhich -m
You should be able to now 'su - <nis user>'
All that is left is to setup security, and any auto_home maps you may have...
-Ryan