1nisrm(1) User Commands nisrm(1)
2
3
4
6 nisrm - remove NIS+ objects from the namespace
7
9 nisrm [-if] name...
10
11
13 The nisrm command removes NIS+ objects named name from the NIS+ names‐
14 pace.
15
16
17 This command will fail if the NIS+ master server is not running.
18
19
20 This command will not remove directories. See nisrmdir(1). Nor will it
21 remove non-empty tables. See nistbladm(1).
22
24 The following options are supported:
25
26 -i Interactive mode. Like the system rm(1) command the nisrm com‐
27 mand will ask for confirmation prior to removing an object. If
28 the name specified by name is a non-fully qualified name this
29 option is forced on. This prevents the removal of unexpected
30 objects.
31
32
33 -f Force. The removal is attempted, and if it fails for permission
34 reasons, a nischmod(1) is attempted and the removal retried. If
35 the command fails, it fails silently.
36
37
39 The following operand is supported:
40
41 name A NIS+ named object.
42
43
45 Example 1 Using the nisrm Command
46
47
48 Remove the objects foo, bar, and baz from the namespace:
49
50
51 example% nisrm foo bar baz
52
53
54
56 NIS_PATH If this variable is set, and the NIS+ name is not fully
57 qualified, each directory specified will be searched until
58 the object is found. See nisdefaults(1).
59
60
62 The following exit values are returned:
63
64 0 Successful operation.
65
66
67 1 Operation failed.
68
69
71 See attributes(5) for descriptions of the following attributes:
72
73
74
75
76 ┌─────────────────────────────┬─────────────────────────────┐
77 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
78 ├─────────────────────────────┼─────────────────────────────┤
79 │Availability │SUNWnisu │
80 └─────────────────────────────┴─────────────────────────────┘
81
83 NIS+[22m(1), nischmod(1), nisdefaults(1), nisrmdir(1), nistbladm(1), rm(1),
84 attributes(5)
85
87 NIS+ might not be supported in future releases of the SolarisTM Operat‐
88 ing Environment. Tools to aid the migration from NIS+ to LDAP are
89 available in the Solaris 9 operating environment. For more information,
90 visit http://www.sun.com/directory/nisplus/transition.html.
91
92
93
94SunOS 5.11 10 Dec 2001 nisrm(1)