Sponsored Content
Full Discussion: How to create users in NIS
Operating Systems Solaris How to create users in NIS Post 302247918 by jlliagre on Thursday 16th of October 2008 05:01:06 PM
Old 10-16-2008
This nisaddcred command is for NIS+.

If your mean the good old NIS (yellow pages), user accounts are created by populating the NIS password file and running make while being in the /var/yp directory.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

NIS users cann't login on AIX and HP

Hey, I've set up a NIS domain with linux as master-server, slave server and clients ... and Linux works fine. To that NIS domain I tried to add a HPUX 11.00 and an AIX 4.3.3 system (till now - there should be more clients in final version). And both systems now have to same problem: I can... (3 Replies)
Discussion started by: mod
3 Replies

2. UNIX for Dummies Questions & Answers

NIS users

How's it going, everyone? A question was posed to me recently, and since I don't know the answer, I was wondering if anyone knew the answer/could point me to a website or book with the answer. The head Network Admin asked me if we were able to keep track of which users log into which boxes via... (1 Reply)
Discussion started by: Jody
1 Replies

3. Filesystems, Disks and Memory

nis users

Hi friends how to find the nis users in my servers. i have normal users also. Thanks & Regards Manoj (3 Replies)
Discussion started by: manoj123
3 Replies

4. Solaris

How can i allow only a group of users in NIS?

Hello experts. I am using Solaris10. How can i allow a group of users, remaining should be deny. Thanx in advance. (9 Replies)
Discussion started by: younus_syed
9 Replies

5. Solaris

To restrict the users not to change the passwords for NIS users

Hi All, How to restrict the NIS users not to change their passwords in for NIS users?? and my NIS user is unable to login to at client location what could be the problem for this ? Any body can help me. Thanks in advance. (1 Reply)
Discussion started by: Sharath Kumar
1 Replies

6. Solaris

create user in NIS+

i want create user in NIS+ with root previligation. Someone please provide full steps. (1 Reply)
Discussion started by: Navkreddy
1 Replies

7. Shell Programming and Scripting

Create multiple users with individual passwords to users

hi, i am new to shell scripts i write a shell script to create multiple users but i need to give passwords to that users while creating users, command to write this script (1 Reply)
Discussion started by: DONFOX
1 Replies

8. Emergency UNIX and Linux Support

NIS created users without a home directory

Hi all, So I have created two Centos machines. One is configured as a NIS master and the second is a NIS cleint. The NIS configs are all working perfectly. I created a user nisuser on NIS Master and I can use it on the client. BUT it doesnt show a home directory . Ive been told there is... (9 Replies)
Discussion started by: Junaid Subhani
9 Replies

9. Shell Programming and Scripting

Bulk NIS Users Password Change

Hi All, I am having Solaris 5.10 acting as NIS. How do i change multiple user password in NIS in a batch. I have predefined users with their passwords to be set: Example: user1 password1 user2 password2 Pls advise. (0 Replies)
Discussion started by: yogajwa
0 Replies

10. Red Hat

Audio Problem-NIS users

Hai all, I'm rameez rahman working as a Technical assistant. I configured NIS Server in RHEL 6.5 with 40 client PC's.All the clients are using the same os ie RHEL 6.5 64 bit.All the features are working fine except sound ie from client machine if a NIS user logged in he cant access sound.But if... (2 Replies)
Discussion started by: rameez rahman k
2 Replies
ypmake(8)						      System Manager's Manual							 ypmake(8)

NAME
ypmake - rebuild Network Information Service (NIS) database using the make command SYNOPSIS
cd /var/yp make [options] [map] OPTIONS
The options argument can be used to override the default values of three special variables used by make: Instructs make to use the source files in the specified directory. The default is /var/yp/src. Instructs make to construct a domain other than the master's default domain. The DOM variable in the /var/yp/Makefile file must be set to the domain name before running make. If you run ypsetup, the DOM variable is set when you specify a domain name. Specifies the database routines used to store NIS maps. The choices are: btree -- Recommended when creating and maintaining very large maps. dbm/ndbm -- For backward compatibility. This is the default. hash -- A potentially quicker method for managing small maps. When non-null inhibits updating of the new database files using the yppush(8) function. The default is the null string. To override the default values of these special variables, an options argument format of special_variable = value is used. See the EXAM- PLES section for an example. The map argument supplied on the command line instructs make to update only the specified map. The specified maps are those located at /var/yp/{domain}, where {domain} is the NIS domain name. Some typical entries for the map argument are passwd, hosts, and networks. Typing make passwd creates and updates the NIS password database, if it is out of date. The make command distributes the updated password database to the slave servers using yppush(8). Therefore, typing make host or make networks creates and updates the host and network files, /var/yp/src/hosts and /var/yp/src/networks, respectively, on the master and slave servers. See ypfiles(4) and ypserv(8) for an overview of NIS. DESCRIPTION
The make command uses the /var/yp/Makefile file to build an NIS database. With no arguments, make creates databases for any NIS maps that are out-of-date, and then executes yppush(8) to notify slave servers that there has been a change. Note Execute the make command only at an NIS master server machine. If it is executed from either a slave server or an NIS client machine, the created changes will only be overwritten when the next NIS master server machine update, using ypxfr(8), is performed. RESTRICTIONS
You must use the same database format for each map in a domain. In addition, a server serving multiple NIS domains must use the same data- base format for all domains. Although a Tru64 UNIX NIS server that takes advantage of btree files will be able to store very large maps, NIS slave servers that lack this feature might have a much smaller limit on the number of map entries they can handle. It may not be possible to distribute very large maps from a Tru64 UNIX NIS master server to a slave server that lacks support for very large maps. NIS clients are not affected by these enhancements. EXAMPLES
This example causes make to create a password NIS map for the domain NewDomain instead of for the default domain: make DOM=NewDomain passwd SEE ALSO
Commands: make(1), makedbm(8), yppush(8), ypserv(8), ypxfr(8) Files: ypfiles(4) ypmake(8)
All times are GMT -4. The time now is 11:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy