1NSEND(1) nsend NSEND(1)
2
3
4
6 nsend - Send messages to users or groups
7
9 nsend [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -C ]
10 [ -a ] -i objectID | -c connNum[,...] | { [ -t recipient type ] -o
11 recipient name | recipient name } message
12
13
15 With nsend, you can send messages to the user's workstations.
16
17 nsend 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 .nwclient MUST be 0600, for
20 security reasons.
21
22
24 recipient name
25 recipient name is either the NetWare name of the user to receive the
26 message or the name of an existing user group on that server. You
27 can use wildcards in this specification.
28
29 -o recipient name
30 Specifies recipient's name. This can specify user or group.
31
32 -t recipent type
33 Specifies recipient's type.
34
35 -c connNum[,...]
36 Specifies connection numbers of recipients. You can use this option
37 as workaround to deliver messages to directory services users.
38
39 -i userID
40 Specifies recipient's object ID. You can use this option as work‐
41 around to deliver messages to directory services users.
42
43 message
44 message is the message to be sent. Please note that this has to be a
45 single command line argument. If you want to send a message that
46 contains spaces, you have to quote them on the command line. For
47 example, to annoy your system administrator, you should try
48
49 nsend supervisor 'I know how this works!'
50
51 Program first searches (wildcards allowed) bindery with recipients
52 name and type. If user is found, message is sent to this user, if
53 group is found, message is sent to this group. Other object types
54 are ignored. If no suitable object was found in this phase, connec‐
55 tion list for specified object is retrieved (no wildcards allowed)
56 and message is sent to this object (including print servers and so
57 on). No expansions on group is done this time.
58
59 -a
60 By default, nsend prepends 'From ....' text to message. You can sup‐
61 press this by adding -a to command line.
62
63 -S server
64 server is the name of the server you want to use.
65
66 -U user name
67 If the user name your NetWare administrator gave to you differs from
68 your unix user-id, you should use -U to tell the server about your
69 NetWare user name.
70
71 -P password
72 You may want to give the password required by the server on the com‐
73 mand line. You should be careful about using passwords in scripts.
74
75 -n
76 -n should be given if specified user does not have password.
77
78 If neither -n nor -P are given, nsend prompts for a password.
79
80 -C
81 By default, passwords are converted to uppercase before they are
82 sent to the server, because most servers require this. You can turn
83 off this conversion by -C.
84
85
87 Directory services connection are not supported yet.
88 Options -c, -i and -o cannot be used together.
89 If user is specified multiple times (using wildcards in group specifi‐
90 cation or by repeating same number in -c), message is delivered multi‐
91 ple times to him.
92
93
95 nwclient(5), nprint(1), slist(1), ncpmount(8), ncpumount(8)
96
97
99 nsend was written by looking at mars_nwe's message handling. Thanks to
100 Martin Stover <mstover@freeway.de>.
101 Support for Netware groups by Philippe Andersson <philippe_anders‐
102 son@ste.scitex.com>.
103 Support for connections greater than 255 by Petr Vandrovec <van‐
104 drove@vc.cvut.cz>.
105
106
107
108nsend 04/07/1999 NSEND(1)