other versions
- wheezy 2.2.6-9
NSEND(1) | nsend | NSEND(1) |
NAME¶
nsend - Send messages to users or groupsSYNOPSIS¶
nsend [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -C ] [ -a ] -i objectID | -c connNum[,...] | { [ -t recipient type ] -o recipient name | recipient name } messageDESCRIPTION¶
With nsend, you can send messages to the user's workstations.OPTIONS¶
recipient namerecipient name is either the NetWare
name of the user to receive the message or the name of an existing user group
on that server. You can use wildcards in this specification.
Specifies recipient's name. This can specify
user or group.
Specifies recipient's type.
Specifies connection numbers of recipients.
You can use this option as workaround to deliver messages to directory
services users.
Specifies recipient's object ID. You can use
this option as workaround to deliver messages to directory services
users.
message is the message to be sent.
Please note that this has to be a single command line argument. If you want to
send a message that contains spaces, you have to quote them on the command
line. For example, to annoy your system administrator, you should try
nsend supervisor 'I know how this works!'
Program first searches (wildcards allowed) bindery with recipients name
and type. If user is found, message is sent to this user, if
group is found, message is sent to this group. Other object types are
ignored. If no suitable object was found in this phase, connection list
for specified object is retrieved (no wildcards allowed) and message is sent
to this object (including print servers and so on). No expansions on
group is done this time.
nsend supervisor 'I know how this works!'
By default, nsend prepends 'From ....' text to
message. You can suppress this by adding -a to command line.
server is the name of the server you
want to use.
If the user name your NetWare administrator
gave to you differs from your unix user-id, you should use -U to tell
the server about your NetWare user name.
You may want to give the password required by
the server on the command line. You should be careful about using passwords in
scripts.
-n should be given if specified user
does not have password.
If neither -n nor -P are given, nsend prompts for a
password.
By default, passwords are converted to
uppercase before they are sent to the server, because most servers require
this. You can turn off this conversion by -C.
BUGS¶
Directory services connection are not supported yet.SEE ALSO¶
nwclient(5), nprint(1), slist(1), ncpmount(8), ncpumount(8)CREDITS¶
nsend was written by looking at mars_nwe's message handling. Thanks to Martin Stover <mstover@freeway.de>.04/07/1999 | nsend |