09-29-2011
Hi,
You should man the nistbladm command, it should help you doing what you want
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm setting up NIS+ on Solaris 8 for Intel. None of the books I have explain how to add a new user in the NIS+ envoirnment. Can somebody explain this and are there any url's to get more info. I have populated the nis tables and can do an niscat of the passwd table. There is an nisgrpadd command... (2 Replies)
Discussion started by: txpjl
2 Replies
2. UNIX for Dummies Questions & Answers
Helloo to all...
what is the correct way to assign a password to a new NIS user on a NIS master server?
When I the following:
useradd -s /bin/bash -d /export/home/username -m username
The user get created fine but when I try to assign a password I get:
#passwd username... (0 Replies)
Discussion started by: GLJ@USC
0 Replies
3. Shell Programming and Scripting
Hi All,
I need to change the UID numbers of many NIS users, is there any command to modify the UID in NIS maps ? ( like usermod) so that their file permissions will be same even with their new UID.
If not, how to check all the files owned by particular user in a computer and change the... (1 Reply)
Discussion started by: RAA
1 Replies
4. Solaris
my qustion is,
nis is centralised server.how to login nis user in client system in console (CDE)login (2 Replies)
Discussion started by: tirupathi
2 Replies
5. Red Hat
Hi
Thanks in advance.
How to create a user without useradd command ?? (1 Reply)
Discussion started by: krish4linux
1 Replies
6. UNIX for Dummies Questions & Answers
I have root access on a linux (RH5.4) server within an NIS setup that I don't control. I have an NIS account that creates directories on my local node that I want to be writable by my local apache account.
The NIS account is only a member of the "users" group and the local apache account is... (1 Reply)
Discussion started by: clindseysmith
1 Replies
7. Solaris
i want create user in NIS+ with root previligation. Someone please provide full steps. (1 Reply)
Discussion started by: Navkreddy
1 Replies
8. Red Hat
Hi, I can't delete an NIS user. Does it sound too simple for you? :( Here is the result:
nis_server# ypcat passwd | grep heisgone
heisgone:xxxxxx:1000:200:He is gone:/home/heisgone:/usr/bin/ksh
nis_server# userdel heisgone
userdel: error deleting password entry
userdel: error deleting... (1 Reply)
Discussion started by: aixlover
1 Replies
9. Solaris
ypcat passwd | grep "user"
- shows the user
userdel "user"
says "user does not exist"
What am I doing wrong? (1 Reply)
Discussion started by: psychocandy
1 Replies
nisrm(1) User Commands nisrm(1)
NAME
nisrm - remove NIS+ objects from the namespace
SYNOPSIS
nisrm [-if] name...
DESCRIPTION
The nisrm command removes NIS+ objects named name from the NIS+ namespace.
This command will fail if the NIS+ master server is not running.
This command will not remove directories. See nisrmdir(1). Nor will it remove non-empty tables. See nistbladm(1).
OPTIONS
The following options are supported:
-i Interactive mode. Like the system rm(1) command the nisrm command will ask for confirmation prior to removing an object. If the
name specified by name is a non-fully qualified name this option is forced on. This prevents the removal of unexpected objects.
-f Force. The removal is attempted, and if it fails for permission reasons, a nischmod(1) is attempted and the removal retried. If
the command fails, it fails silently.
OPERANDS
The following operand is supported:
name A NIS+ named object.
EXAMPLES
Example 1: Using the nisrm Command
Remove the objects foo, bar, and baz from the namespace:
example% nisrm foo bar baz
ENVIRONMENT VARIABLES
NIS_PATH If this variable is set, and the NIS+ name is not fully qualified, each directory specified will be
searched until the object is found. See nisdefaults(1).
EXIT STATUS
The following exit values are returned:
0 Successful operation.
1 Operation failed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnisu |
+-----------------------------+-----------------------------+
SEE ALSO
nis+(1), nischmod(1), nisdefaults(1), nisrmdir(1), nistbladm(1), rm(1), attributes(5)
NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are
available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html.
SunOS 5.10 10 Dec 2001 nisrm(1)