summaryrefslogtreecommitdiffstats
path: root/usr.bin/ncplogin/ncplogout.1
blob: 07aeb5309ff9dc26ce7e657fd4805c40495153fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.\" $FreeBSD$
.Dd Sep 15, 1999
.Dt NCPLOGOUT 1
.Os
.Sh NAME
.Nm ncplogout
.Nd schedule permanent connection to close
.Sh SYNOPSIS
.Nm ncplogout
.Op -S Ar server
.Op -U Ar user
.Op -c Ar handle
.Nm ncplogout
.Op -c Ar handle
.No / Ns Ar server Ns : Ns Ar user
.Sh DESCRIPTION
The
.Nm
will schedule a connection created by
.Xr ncplogin 1
command to be closed.
If the connection is busy (i.e. used by other processes) it will
be closed when the last process using it is terminated.
This command is similar to the
.Tn DOS 
logout.exe command.
.Pp
The options are:
.Bl -tag -width indent
.It Fl S Ar server
Specify the name of the
.Tn Netware
server to which the connection should be terminated.
Can be omitted if there is only
one connection active.
.It Fl U Ar user
Specify the name of the user to use when identifying the connection.
Can be omitted if there is only
one connection active.
.It Fl c Ar handle
Close a connection by handle.
A list of available handles can be obtained with the following command:
.Bd -literal -offset indent
	ncplist c
.Ed
.El
.Sh HISTORY
The
.Nm
utility first appeared in
.Fx 4.0 .
.Sh AUTHORS
.An Boris Popov Aq bp@butya.kz ,
.Aq bp@freebsd.org
.Sh BUGS
Please report any bugs to the author.
OpenPOWER on IntegriCloud