70 lines
1.3 KiB
Groff
70 lines
1.3 KiB
Groff
.TH NWAUTH 1 10/27/1996 nwauth nwauth
|
|
.SH NAME
|
|
nwauth \- Verify username/password
|
|
.SH SYNOPSIS
|
|
.B nwauth
|
|
[
|
|
.B -h
|
|
] [
|
|
.B -S
|
|
.I server
|
|
] [
|
|
.B -U
|
|
.I user name
|
|
] [
|
|
.B -P
|
|
.I password
|
|
|
|
|
.B -n
|
|
]
|
|
.SH DESCRIPTION
|
|
.B nwauth
|
|
does nothing but logging into a NetWare server. If the login was
|
|
successful, an error code of 0 is returned. If the login was not
|
|
successful, an error code of 1 is returned. It was designed for
|
|
use by other programs who want authenticate users via a NetWare
|
|
server.
|
|
|
|
nwauth
|
|
.B always
|
|
expects a password on stdin. If the stdin is a tty, then the user is
|
|
prompted for a password. Otherwise nwauth simply reads stdin for a
|
|
password.
|
|
|
|
.B nwauth
|
|
looks up the file
|
|
.I $HOME/.nwclient
|
|
to find a file server and a user name. See nwclient(5) for more
|
|
information. Please note that the access permissions of .nwclient MUST
|
|
be 600, for security reasons.
|
|
|
|
.SH OPTIONS
|
|
|
|
.B -h
|
|
.RS 3
|
|
.B -h
|
|
is used to print a short help text.
|
|
.RE
|
|
|
|
.B -S
|
|
.I server
|
|
.RS 3
|
|
.B server
|
|
is the name of the server you want to use.
|
|
.RE
|
|
|
|
.B -U
|
|
.I user name
|
|
.RS 3
|
|
If the user name your NetWare administrator gave to you differs
|
|
from your unix user-id, you should use
|
|
.B -U
|
|
to tell the server about your NetWare user name.
|
|
.RE
|
|
|
|
.SH SEE ALSO
|
|
.B nwclient(5)
|
|
|
|
.SH CREDITS
|
|
nwauth was written by Volker Lendecke (lendecke@math.uni-goettingen.de)
|