1NWBPADD(8) nwbpadd NWBPADD(8)
2
3
4
6 nwbpadd - Set the value of a NetWare Bindery Property
7
9 nwbpadd [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -C
10 ] [ -o object name ] [ -t type ] [ -p property ] value
11
12
14 nwbpadd sets the value of a ITEM type property, and adds bindery
15 objects to a SET type property.
16
17 nwbpadd looks up the file $HOME/.nwclient to find a file server, a user
18 name and possibly a password. See nwclient(5) for more information.
19 Please note that the access permissions of $HOME/.nwclient MUST be 600
20 for security reasons.
21
22
24 -h
25 -h is used to print out a short help text.
26
27 -S server
28 server is the name of the server you want to use.
29
30 -U user
31 user is the user name to use for login.
32
33 -P password
34 password is the password to use for login. If neither -n nor -P are
35 given, and the user has no open connection to the server, nwbpadd
36 prompts for a password.
37
38 -n
39 -n should be given if no password is required for the login.
40
41 -C
42 By default, passwords are converted to uppercase before they are
43 sent to the server, because most servers require this. You can turn
44 off this conversion by -C.
45
46 -o object name
47 The name of the object to be touched.
48
49 -t object type
50 The type of the object. Object type must be specified as a decimal
51 value. Common values are 1 for user objects, 2 for group objects and
52 3 for print queues. Other values are allowed, but are usually used
53 for specialized applications.
54
55 -p property
56 The name of the property to be set.
57
58 value
59 If property is of type SET, value is an object id in hexadecimal
60 notation. Otherwise, value is either a string value to be written,
61 or a count of bytes to be written. The latter is assumed if more
62 than one value argument is given. The count is decimal, and the fol‐
63 lowing arguments are interpreted as bytes in hexadecimal notation.
64
65 Examples:
66
67 All these examples assume the existence of the file $HOME/.nwclient.
68 Otherwise, the server and user would have to be specified.
69
70 nwbpadd -o linus -t 1 -p groups_i\'m_in 030a0002
71
72 In this example, user linus is added to the group whose ID is
73 030a0002. Please note that the ' has to be quoted.
74
75 nwbpadd -o linus -t 1 -p identification "Linus Torvalds"
76
77 User linus is given his real name :-).
78
79 nwbpadd -o linus -t 1 -p revision -v 04 00 00 01 0b
80
81 A new 4-byte binary value 0x0000010b (hi-lo order, no byte-swapping)
82 is added to the "REVISION" property of the user "linus".
83
84
86 nwbpadd was written by Volker Lendecke with the corresponding Caldera
87 utility in mind. See the Changes file of ncpfs for other contributors.
88
89
90
91nwbpadd 7/9/1996 NWBPADD(8)