gnwlogin (1)

Name

gnwlogin - Logs a user in to a Novell file server or an eDirectory tree.

Syntax

gnwlogin [--author] [-x] [--auto] [--passenv] [-D] [-d] [-A] [-a] [-R][-r] [-L <loginscript>] [-P <profilescript>] [-5 <value>] [-4 <value>] [-3 <value>] [-2 <value>] [--clearconn] [-c <context>] [-u <name>] [-s <server>] [-t <tree>] [--] [-v][-h]

Description

The gnwlogin utility allows a user to log in to a Novell file server or eDirectory tree. Running the gnwlogin command launches the Novell Login dialog box. You can add variables and strings to run additional scripts and modify variables.

You must specify the username, password, tree, context, and server.

Options

-c <context>, --context <context>

Specifies the context that the user is logging in to. This value is required.

-u <name>, --user <name>

Specifies the user's eDirectory username. This value is required.

-s <server>, --server <server>

Specifies the server that the user is logging in to. This value is required.

-t <tree>, --tree <tree>

Specifies the tree that the user is logging in to. This value is required.

--author

Show author information.

-x, --anotherapp

Running from another application indicator.

--auto

Automatically log in. You can use this option along with the --passenv option to keep the Novell Login dialog box from pausing on the password prompt.

--passenv

Specifies the password via the NWPassword environment variable. You can set NWPassword to be the password that you want login to use (when you pass it using -passenv) instead of specifying the password on the command line.

For example:

export NWPassword=novell
gnwlogin -t mytree -c mycontext -u admin --auto --passenv
-D, --displayoff

Turns the display results window off.

-d, --displayon

Turns the display results window on.

-A, --closeoff

Close automatically off.

-a, --closeon

Close automatically on.

-R, --runoff

Any scripts associated with the specified username are not run.

-r, --runon

Runs any scripts associated with the specified username.

-L <loginscript>, --loginscript <loginscript>

Runs the specified login scripts during login.

-P <profilescript>, --profilescript <profilescript>

Runs the specified Profile login scripts during login.

-5 <value>, --var5 <value>

Allows an additional parameter to be entered that the login utility passes to the login script.

There are four %n variables that can be specified during login (2, 3, 4, and 5). The utility then substitutes these parameters for the %n variables in the login script.

The variables are replaced in the order specified, by selecting -2, -3, -4, or -5.

-4 <value>, --var4 <value>

Allows an additional parameter to be entered that the login utility passes to the login script.

There are four %n variables that can be specified during login (2, 3, 4, and 5). The utility then substitutes these parameters for the %n variables in the login script.

The variables are replaced in the order specified, by selecting -2, -3, -4, or -5.

-3 <value>, --var3 <value>

Allows an additional parameter to be entered that the login utility passes to the login script.

There are four %n variables that can be specified during login (2, 3, 4, and 5). The utility then substitutes these parameters for the %n variables in the login script.

The variables are replaced in the order specified, by selecting -2, -3, -4, or -5.

-2 <value>, --var2 <value>

Allows an additional parameter to be entered that the login utility passes to the login script.

There are four %n variables that can be specified during login (2, 3, 4, and 5). The utility then substitutes these parameters for the %n variables in the login script.

The variables are replaced in the order specified, by selecting -2, -3, -4, or -5.

--clearconn

Clears existing server connections before logging in to the current server.

--, --ignore_rest

Ignores the rest of the labeled arguments following this flag.

-v, --version

Displays version information and exits.

--h, --help

Display usage information and exits.

Authors

Copyright 2009, Novell, Inc. All rights reserved. http://www.novell.com

See Also

nwlogin(1)

To report problems with this software or its documentation, visit http://bugzilla.novell.com