Sponsored Content
Full Discussion: Integration of NIS and NFS
Operating Systems Solaris Integration of NIS and NFS Post 62748 by 98_1LE on Saturday 19th of February 2005 09:57:43 AM
Old 02-19-2005
It is NIS (aka yp) or NIS+?

I haven't used NIS in a long time, but do not remember it supporting a master/slave configuration. NIS+ definately does.

To make homes automount in NIS+, all you have to do is populate the auto_home table with a key of the username, and the value of the NFS path (hostname:/path/to/home). In nsswitch.conf have it look to nis for automount, and set the home in the passwd table to /home/username.

You can even use this for non NIS+ users (passwd/shadow users) by putting the entry in auto_home, and a /home/username password entry. This assumes you are not running secure NFS/RPC. This should also work for 2 seperate NIS domains sharing one NFS server.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

NIS/NFS

Oreilly puts out a book on NIS/NFS this book was last updated in 1992. Has NIS/NFS change since then? Should I be looking at a better resource? Thanks (1 Reply)
Discussion started by: SmartJuniorUnix
1 Replies

2. UNIX for Dummies Questions & Answers

NIS map mail.aliases specified, but NIS not running

Hi all, I just took over the admin role from someone and I wanna setup sendmail (just to send mail from the host) however, after I config all the resolv.conf, nssitch.conf, hosts file and when I try to send a mail out, after I punched ctl-D, it returned he following, "NIS map mail.aliases... (2 Replies)
Discussion started by: stancwong
2 Replies

3. UNIX for Advanced & Expert Users

SUSE 9 and 10 NIS clients with RedHat 8.0 NIS server not working

We have a RedHat 8.0 NIS master, with a RedHat 8.0 NIS Slave. We also have a small number of SUSE 9.1 and SUSE 10 machines here for evaluation. However, no matter what i do, the SUSE machines will not talk to the NIS Servers. If i broadcast for NIS Servers for the specified NIS domain, it... (1 Reply)
Discussion started by: fishsponge
1 Replies

4. Solaris

NIS server to manage NFS quota

I have a Solaris NIS master server to manage my Solaris NIS clients' passwd, group, shadow. I also have a EMC NAS. The NAS is NFS mounted on my clients. I would like to use disk quota to manage my users. From what I read from the SUN doc, quota can be implemented on the Solaris NFS client... (0 Replies)
Discussion started by: izy100
0 Replies

5. UNIX for Advanced & Expert Users

NFS and NIS reserved ports

Does anyone know how to assign rpc ports to NFS or NIS processes on Solaris please ? Thanks, Michael Chnader (0 Replies)
Discussion started by: mchnaider
0 Replies

6. UNIX for Advanced & Expert Users

Problem: Automounting Home directory for nis & nfs configuration doesn't work

Hi all, First of all, i am so sorry about my bad level in English writing. I have some problem in linux and i hope the experts of this forum to help me if they have enough time to reply to me. I have a scenario of configuring NIS and NFS in Redhat Linux environment such that user can login... (0 Replies)
Discussion started by: pioneer
0 Replies

7. Solaris

How to configure a NIS client bound to the NIS server in another subnet?

Hi, all. I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client, 1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01 2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies

8. Windows & DOS: Issues & Discussions

nfs/nis - microsoft services for UNIX adminstration

hello, I am using "microsoft services for UNIX adminstration" as an nfs/nis client in order to connect to a remote NFS folder with NIS authentication nfs mount seems to fail on the authentication stage. I get the login box from the client, but any (NIS mapped) loging seems to reject me.... (2 Replies)
Discussion started by: ynoatan99
2 Replies

9. HP-UX

Configure DNS,NFS,NIS,LDAP and LVM(mirror,sparing and multipathing)

Hello All, I am a newbee in HP UX wanted to know how to configure DNS,NFS,NIS,LDAP and LVM(mirror,sparing and multipathing) in HP UX 11iv2 and v3 and i did go through some of the docs on hp.com but i think those are for experience UX users and i am new to this so if some one could just mention... (1 Reply)
Discussion started by: coolsami
1 Replies

10. Solaris

nfs/nis client ownership issue

Hi, I have 2 systems - solaris 10 1 is nfs/nis server while other is nis/nfs client and user directories mounted on the client. the authentication works fine. but I find out of all users, only 2 users directory is owned by some usernames who are local user on client system. I checked... (3 Replies)
Discussion started by: upengan78
3 Replies
newkey(1M)																newkey(1M)

NAME
newkey - create a new Diffie-Hellman key pair in the publickey database SYNOPSIS
[ [ DESCRIPTION
establishes new public keys for users and machines on the network. These keys are needed when using secure RPC or secure NFS service. prompts for a password for the given username or hostname and then creates a new public/secret Diffie-Hellman 192 bit key pair for the user or host. The secret key is encrypted with the given password. The key pair can be stored in the file, the NIS map, or entries in the LDAP directory. consults the entry in the name service switch configuration file (see nsswitch.conf(4)) to determine which naming service is used to store the secure RPC keys. If the entry specifies a unique name service, will add the key in the specified name service. However, if there are multiple name services listed, cannot decide which source to update and will display an error message. The user is required to specify the source explicitly with the option. In the case of NIS, should be run by the superuser on the master NIS server for that domain. In the case of LDAP, should be run by the superuser on a machine that has permission to update the entries in the LDAP directory. Options Create a new public/secret key pair for the privileged user at the given hostname. Prompts for a password for the given hostname. Create a new public/secret key pair for the given username. Prompts for a password for the given username. Update the database in the specified source: (for NIS), or (LDAP). Other sources may be available in the future. WARNINGS
HP-UX 11i Version 2 is the last HP-UX release on which NIS+ is supported. LDAP is the recommended replacement for NIS+. HP fully supports the industry standard naming services based on LDAP. AUTHOR
was developed by Sun Microsystems, Inc. SEE ALSO
chkey(1), keylogin(1), nsswitch.conf(4), publickey(4). newkey(1M)
All times are GMT -4. The time now is 05:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy