We're migrating from UNIX platform to Windows, and have tons of UNIX scripts. I can run the shell scripts from LID prompt just like on UNIX after running initluu. However, when I define the script in tokendef, it will not run. Does anyone know how to make UNIX script to run with tokendef?
Thanks.
In tokendef
Go to "User Form IDs"
Create a category if you don't have one
Add a form ID to your category
Define form
In the Command field enter the full path to scripts (ie. /lawson/nhscripts/sample.sh)
Save and exit
In jobdef
Create a job
Tab down to first Step # line
In Form ID hit F4
In Type hit F4, select User
Tab down to Category, F4, select your category (from tokendef)
Tab down to the token you created for your script and select
Save job
Submit job
To create/submit job in Portal you may need to use the "Multi-Step Job Definition" screen, leave the Data Area field blank and type the Token name into teh Form field (drop down won't work).
Don't forget to add your token to the security role(s) as needed.
EDIT: Just realized that you said you were migrating to Windows from Unix - I had originally read it eh other way around. I am unfamiliar with how intluu works, so my response above may be completely worthless.
Running Unix scripts on a Windows environment is mainly depended on what Windows version you are on. We moved from unix to Windows 2008 R2 and I was able to get all the scripts to work but we recently upgraded to 2012 R2 and i could not get the scripts to run hence I had to convert all the script to batch. Thought I can run the batch scripts as tokens, i decided to have a single program which allows user to enter parameters and that allows them to run the scripts without worrying about updating userratts when they change passwords.
Let me know what Windows version you are running.