Unattended Warp Netware Login with Password

Return to The Warp Pharmacy:Software

Last update: 6th November, 1995

Symptoms
Attempts to get login.exe, attach.exe, to accept Netware passwords from a file or as a parameter do not work.

Hardware
N/A

Problem
Login to a Netware server in an unattended mode was not made easy by Novell under OS/2 Warp. None of the command line utilities that can attach you to a server will accept re-directed passwords. These utilities do not read STDIN for password input.

Creating userids without passwords can result in security and administration problems that may be unacceptable.

Procedure
If you must have a password for your userid, you can take advantage of two features that Netware provides:
 * 1) Within a login script, the attach command will take a password as a parameter.
 * 2) The login command will let you to over-ride the use of a system login script and allow you to specify your own.

You will need access to a Netware server on your LAN that has an ID which does not require a password. The standard guest id works well here. By default the guest ID does not require a password has minimal rights. The login id that you use in order to run your script needs no rights at all if login.exe and the login script are on your local machine.

Example login command: --- cut here --- login fs1/guest /s c:/netware/login.scr pswd1 cut here --

login.scr --- cut here -

attach fs2/userid1;%2 attach fs3/userid2;pswd2 attach fs4/userid3;pswd3 attach fs5/userid4;pswd4

map m:=fs2/sys:directory map n:=fs3/sys:directory/subdir map o:=fs4/sys:directory map p:=fs5/sys:

--- cut here ---