Use at a workstation to access the network by logging in to a server and running a login script.
LOGIN [server_name/ | tree/][user] [/option...][/? | /VER]
|
Parameter |
Use to |
|---|---|
|
(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 usfes to execute. All other parameters are ignored when /VER is used. |
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.
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 eDirectory™ 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