Novell Login Script Setup
eDeclaration can be run automatically with a login script. Here are steps of how to set it up. You need admin rights to do it.
- Edit the eDeclaration.ini in the package.
- Ensure Login Start=Server in the eDeclaration.ini.
- Launch ConsoleOne.
- Select a container or a user.
- Right click on the mouse.
- select Login Script tab.
- If there is no login script, add a new one called eDeclaration.src
- Create the new eDeclaration.src as the following; otherwise just copy them to the existing script accordingly.
This is an example of the login script
NO_DEFAULT
MAP DISPLAY OFF
MAP ERRORS OFF
; Set general drive mappings
MAP INS ROOT S1:=%fileserver\SYS:PUBLIC
MAP ROOT F:=%fileserver\SYS:LOGIN
MAP ROOT Z:=%fileserver\DATA:\CompanyFiles\Apps\
......
; Run eDeclaration
IF EXIST Z:\eDeclaration\eDeclaration.exe THEN
@Z:\eDeclaration\eDeclaration.exe
END
MAP DISPLAY ON
This is an example of the login script with a user logon
NO_DEFAULT
MAP DISPLAY OFF
MAP ERRORS OFF
; Set general drive mappings
MAP INS ROOT S1:=%fileserver\SYS:PUBLIC
MAP ROOT F:=%fileserver\SYS:LOGIN
MAP ROOT Z:=%fileserver\DATA:\CompanyFiles\Apps\
......
; Run eDeclaration
IF EXIST Z:\eDeclaration\eDeclaration.exe THEN
@Z:\eDeclaration\eDeclaration.exe "%LOGIN_NAME"
END
MAP DISPLAY ON
Note:
@Z:\eDeclaration\eDeclaration.exe is used because
Use the @ command to execute a program that is external to the login script and then continue with the script (similar to the Startup group). Use the @ command instead of the # command to run an external program from a login script if that external program will remain open for any length of time. Otherwise, the login script will remain open until that external program is closed. (Login scripts cannot be edited while they are open.)
Use the # command to execute a program that is external to the login script. The # command executes an external program and waits until it is finished running before continuing with other login script commands
A user name can be passed as a parameter in the command line. eg. @Z:\eDeclaration\eDeclaration.exe a_user_name
More details about Novell Login Script can be downloaded.
|
|
|