home *** CD-ROM | disk | FTP | other *** search
- OS/2 System Administration Utility
- ==================================
-
- SAM is a program package, that allows to boot OS/2 with different
- profiles (OS2.INI, normally placed in the OS2-directory).
- In this way every user can tailor its own, private "OS/2-outlook",
- provided by the Desktop Manager and the Control Panel.
-
- Because the management of this PM-Initialization is contained in
- two files, I'll enumerate the contents of these files in brief:
- The "system initialization file" OS2SYS.INI contains:
- - Names of ports
- - Names of printers and printer drivers
- - Names of queues
- - The spooler path
- The "user initialization file" OS2.INI contains:
- - Screen colors
- - Default printer and queue
- - Desktop Manager list
- - Application settings
- (see OS/2 CP and PM Programming Guide Version 1.2, IBM).
-
- This package consists of two executable files: SAM.EXE and INITOS2.EXE.
- The first is a PM-application, that interactively sets up a private
- environment. That is, it creates a file *.USR, which contains the
- shell, their parameters and a password, if necessary. Therefore it is
- intended for use only by a "system administrator".
-
- The second program is a full-screen application, that is called on
- boot-time instead of the OS/2-Shell (PMSHELL.EXE). It prompts for a
- user name, looks for the *.USR file and reads the name of the
- shell and their parameters. Afterwards it starts this shell (by means
- of a synchronous DosExecPgm after freeing all allocated memory and
- stopping all unnecessary threads).
-
- Optionally, an "Auto-User" may be defined. This is a default-Username,
- which is started, when the user-prompt of INITOS2.EXE isn't answered
- within a specified time.
-
- Installation:
- -------------
- 1. Create a new directory (e.g. C:\LOGIN)
- 2. Copy SAM.EXE and INITOS2.EXE into this directory
- 3. Place a 'REM' at the beginning of the PROTSHELL statement in the
- CONFIG.SYS file
- 4. Insert a new PROTSHELL statement:
- PROTSHELL=path\INITOS2.EXE loginpath
- where path is the path to INITOS2.EXE and loginpath is the path, where
- you want to place you user definition files. Example:
- PROTSHELL=C:\LOGIN\INITOS2.EXE C:\LOGIN
- 5. Create at least one user with SAM. You have to start SAM out of the
- loginpath or must add this loginpath to the invocation command:
- SAM C:\LOGIN
-
- Two userfull examples for users are the following:
- - GUEST:
- PROTSHELL: C:\OS2\PMSHELL.EXE
- User Profile: C:\LOGIN\GUEST.INI
- Sys Profile: C:\OS2\OS2SYS.INI
- Protshell Options: C:\OS2\CMD.EXE /K C:\OS2INIT.CMD
- Password: (none)
-
- - QUICK:
- PROTSHELL: C:\OS2\CMD.EXE
- User Profile: (none)
- Sys Profile: (none)
- Protshell Options: /K C:\OS2INIT.CMD
- Password: (???)
-
- The 'QUICK'-User sets up a DOS-like environment with one full screen
- session but with all the multitasking and protected mode capabilities
- of OS/2. It is useful, if you have a slow computer and want quickly
- boot it only to copy some files or something else.
-
- The SAM.RC and SAM.H files are delivered with this package. Thus you are
- able to convert this application to your favourite language.
-