1NWAUTH(1)                           nwauth                           NWAUTH(1)
2
3
4

NAME

6       nwauth - Verify username/password
7

SYNOPSIS

9       nwauth  [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -D
10       ]
11

DESCRIPTION

13       nwauth does nothing but logging into a NetWare server. If the login was
14       successful,  an  error code of 0 is returned. If the login was not suc‐
15       cessful, an error code of 1 is returned. It was  designed  for  use  by
16       other programs who want authenticate users via a NetWare server.
17
18       If there is no -P or -n option specified on command line, nwauth always
19       expects a password on stdin. If the stdin is a tty, then  the  user  is
20       prompted  for  a  password.  Otherwise  nwauth simply reads stdin for a
21       password.
22
23       nwauth looks up the file $HOME/.nwclient to find a file  server  and  a
24       user  name  if  they are not specified on command line. See nwclient(5)
25       for more information.  Please  note  that  the  access  permissions  of
26       .nwclient MUST be 600, for security reasons.
27
28

OPTIONS

30       -h
31          -h is used to print a short help text.
32
33       -S server
34          server is the name of the server you want to use.
35
36       -U user name
37          If the user name your NetWare administrator gave to you differs from
38          your unix user-id, you should use -U to tell the server  about  your
39          NetWare user name.
40
41       -D
42          nwauth  says that your password is correct if you have existing con‐
43          nection to server with name user name. This is handy for some  shell
44          scripts,  but  it is unacceptable for authorization modules, such as
45          PAM, PHP or Apache. It was pointed to me that this behavior was  not
46          well  known,  and there exist at least one PAM module which does not
47          know that (this module is not part of ncpfs; you should use PAM mod‐
48          ule which comes with ncpfs instead anyway).
49

SEE ALSO

51       nwclient(5)
52
53

CREDITS

55       nwauth was written by Volker Lendecke (lendecke@math.uni-goettingen.de)
56
57
58
59nwauth                            10/27/1996                         NWAUTH(1)
Impressum