Login is a program wich provides multiple desktops to your WPS. Every user defined desktop can be protected by a password. It doesn't protect any files, so be VERY careful when you use it.
ATTENTION FOR USERS OF VERSION 0.2 and 0.31:
The magic cookie in the userdata.log file has been changed. Please REPLACE the old with the new one. If the program shows a MsgBox like "Userdata file not found or corrupted" then the magic cookie is the problem.
What's new:
In version 0.4 you can use the ENTER or the TAB key to move the cursor from the username to the password entryfield. If the login is incorrect, the window "shakes" itself. :)
The program uses the emx.dll and emxlibc.dll. If you don't have it on your system (or an older version), replace the old ones or make them available by LIBPATH in your config.sys. For those ones who want to use a statically linked version: There is one in the directory .\static .
How it works:
When Login is started, it asks for a user name and a password. If these are correct, Login sets the user .ini file, which is associated with the user name, and then starts pmshell (or any other application).
Needed parameters for Login:
Login needs the full name of the user data file as argv[1] and the application to start as argv[2].
If you forget it, pmshell won't open your folders or programs or whatever you start automatically.
- REMOVE the following setting:
SET RUNWORKPLACE=<anyprogram>
If you forget it, the RUNWORKPLACE will start before you're logged in.
You should create a new user .ini file with "makeini initial.ini ini.rc", which you set as the default USER_INI file. That's why... you'll see.
- Create the user data file. Use the userdata.log file as a template. The format is:
First line: The magic cookie for the program. Do not change this line!
After this line, every three lines are one user entry. The order is:
- user name
- password
- full path and name of the user ini file.
It's a good idea to add the initial.ini desktop as a service entry.
How to create a new desktop:
- Use the makeini utility to create a new user .ini file.
- Add an entry associated with the new user file to the user data file.
- Reboot and log in with the new name.
- The WPS should start with the well-known default desktop for beginners. This is the new one. Now you can change it til it fits to your needs.
KNOWN PROBLEMS:
- If a new USER_INI file is set, the desktop background color and the system settings (like window animation) will not be changed. Therefore you should configure this with the initial.ini desktop for your needs.
- To have printing capability from every desktop, you MUST install the printer drivers for EVERY desktop separately. This makes sense, because every printer object has its own queue.
- To get more save operation of the WPS with multiple desktops, every desktop directory tree should be located in its own subdirectory. Example:
User 1: c:\user_1\Desktop -- there is the Desktop subdirectory tree for user 1, located normally in c:\desktop or "c:\os/2 2.0 Desktop". Move it with the WPS to this location (important!), but ONLY if it is the active desktop!
User 2: c:\user_2\Desktop -- the Desktop tree for user 2. Same procedure as above.
This is my own expirience with desktop directories.
PLANS FOR THE NEAR FUTURE:
- The ability to do user-dependant GLOBAL environment settings like SET HOME=user. I know the way to do so, but I didn't have the time to implement it in this version.
WARRANTIES:
I'm not liable for anything.
Bug reports, hints, money:
This program is shareware. There is no registration fee required (up to version 1.0), but if you want to send me money, I won't mind. If you want to be registered, just send me a mail or a letter and you will be informed about the newest versions of the program.
Please send to:
Jens Glathe
Keithstra▀e 36 Apt. 604
D- 10787 Berlin
E-Mail: jensajce@w271zrz.ZRZ.TU-Berlin.de
History:
Changes made in version 0.4:
- "Shaking" of window when login is incorrect.
Changes made in version 0.31:
- The login window now centers automatically on the screen.
- Compiled with some other options, now using emx.dll and emxlibc.dll (smaller executable).