LOGIN
Purpose
Use at a workstation to access the network by logging in to a server and running a login script.
Syntax
LOGIN [server_name/ | tree/][user] [/option...][/? | /VER]
(no parameter) |
Request a login prompt. |
server_name/ |
Specify the server you want to log in to. |
tree/ |
Specify the tree you want to log in to. |
user |
Specify the username you want to log in with. |
/option |
Replace option with any available option. See LOGIN Options. |
/? |
View online help. All other parameters are ignored when /? is used. |
/VER |
View the version number of the utility and the list of files it uses to execute. All other parameters are ignored when /VER is used. |
Using LOGIN
- Using LOGIN implies use of the LOGOUT command. That is, using LOGIN to access an additional server logs you out of all other servers.
To remain logged in to other servers, use the no script (/NS) option.
NOTE: Using the /NS option is similar to using the ATTACH command in NetWare® 3.
- To use another object's login script, you need the Read property right to the Login Script property of that object. This login script replaces the profile script (if one is specified).
- To set your context before you log in, either use the CX command or set your context in the NET.CFG file using the following statement:
name context = complete_name
NOTE: For OS/2* do not use the equals sign or quotation marks.
LOGIN Options
/NS |
Prevent a login script from running and prevent you from being logged out of other servers you are logged in to. |
/NB |
Prevent the Welcome to NetWare banner from being displayed during the login process. |
/S path | object_name |
Specify a login script file. Replace path with the path to the script. Replace object name with the object whose script you want to run. |
/B |
Specify a bindery login. |
/PR=profile_object_name |
Specify the Profile object script you want to run. |
/NOSWAP |
Prevent LOGIN from swapping to extended or expanded memory, or to disk. |
SWAP=path |
Tells login to swap to this path when external commands are executed. DOS only. |
/TREE |
Specify that you want to log in to a tree. |
Examples
- To log in to server PAYROLL as user MARIE without logging out of other servers you are logged in to, type
LOGIN PAYROLL/MARIE /NS
- To log in to tree TERMINAL as user MARIE, type
LOGIN TERMINAL/MARIE /TREE
- To log in to the eDirectoryTM tree as user SAM (if current context is set to SAM's container), type
LOGIN SAM
- To log in as user SAM and specify a Profile object to use as a login script, type
LOGIN SAM /PR=WPGROUP.NOVELL
Previous | Next