Short: Multi User login/autopass replacement Type: util/misc Author: Paweî 'MIron' Miroïczuk Uploader: miron@cyberdude.com Version: XLogin v 1.0 Requires: KS 2.04 (tested on KS3.1), MultiUserFileSystem Distribution: emailware PREINTRODUCTION: ---------------- English is _NOT_ my native language, so please forgive all mistakes in this file, or even better - correct them and send it to me :) INTRODUCTION: ------------- XLogin is simple login/logout/autopass replacement. On my A500 (yes I still have only A500 :) with HD n' stuff, but... :) I use MuFS for a year (about). I installed it because some viruses have problems with this filesystem (couldn't write n' stuff), and on the other hand my little sister sometimes use my computer, so I had to protect my files before accidental delete. I decided not to set passwords, because it's REALLY annoying, when you have to enter password on your own machine zillions times a day, and you can trust other users. Besides Login/Logout suck - it's old, out of style and totally non configurable stuff. I found partial solution in "autopass", but autopass is really PIA when more than one person use computer. And there is NO WAY to login as nobody (sometimes it's useful). So I wrote XLogin. I was inspired by SunOS xlogin - it's as simple as it could be - no firecrackers, no superhiperextrauseless things - just gr8. Then I add some firecrackers and useless stuff just 4 fun, but user can disable it :) XLogin has been written in E with EasyGUI - that's why it has about 40k (BIIIG :(). I used EasyGUI because I'm leasy. _Maybe_ in future I'll rewrite GUI part, but 2 B honest I doubt. Program has been tested on A500 with plain 68000, 4MB FastRAM, 1.8 SlowRAM, 0.5 ChipRAM, 630HD, KickStart 40.68. So I guess it should work on ANY Amiga with OS2.04+. INSTALLATION: ------------- Just copy XLogin whereever you want (with icon if possible - it can be usefull). USAGE: ------ xlogin LOGIN/K,PASSWORD/K,ICON/S,ICONNAME/K,FONT/K,FONTSIZE/N/K, TITLE/K,GLOBAL/S,NOGUI/S,NOCANCEL/S,TIMEOUT/N,GAUGE/S Options: LOGIN (string) - loginname (default "root") PASSWORD (string) - password (default - none) ICON - If typed icon will be shown (default "xlogin.info") ICONNAME (string) - you may change name of default icon (BTW: don't add ".info" in the name) FONT (string) - change font (default "Times.font") FONTSIZE (number) - change size of font (default 24) TITLE (string) - change title (default "X Login") GLOBAL - see MultiUser.doc NOGUI - If typed there no GUI will be shown (in that case xlogin will work the same way as autopass) NOCANCEL - disable cancel gadget TIMEOUT - Ehhhh.... it's longer story. I decided to add this one because sometimes my machine get crash and reboot. If I sleep n' stuff there is _no way_ to startup - it stops on login. After TIMEOUT intuiticks (on my computer about 5 intuiticks = 1 second) XLogin will try to login. BTW. If you press any key (even mouse button) countdown will stop. So you can change login and password. Set this value individually. GAUGE - Shows time to autologin EXAMPLES: --------- xlogin icon - simple gui login with default icon xlogin iconname="sys:disk" - simple gui login with icon from your system disk xlogin login=dexter password=laboratory nogui - login in autopass way xlogin font=NewsGothic.font fontsize=56 - login with changed fonts in title xlogin title="Amiga OS 3.1" - login with changed title xlogin nocancel - siple gui login with _no guest_ allowed xlogin login=miron icon gauge timeout=100 - is my favourite. It's gui login with default icon, gauge and autologin after 20 sec. Program CAN be runned from workbench and it that case it uses tootypes. COPYRIGHT, DISTRIBUTION N' STUFF: --------------------------------- This software is EmailWare. It's freely distributable as long as the archive remains intact, and only a nominal fee is charged for it's distribution. If you use it - let me know it :) This software is provided "AS IS" without warranty of any kind, either expressed or impled. By using it, you agree to accept the entire risk as to the quality and performance of the program. AUTHOR: ------- Paweî 'MIron' Miroïczuk email: miron@cyberdude.com http://sun10.ci.pwr.wroc.pl/~miron KNOWN BUGS & DISADVENTAGES: --------------------------- - If text in title is "out of range" (larger than window) xlogin fail to open window and quit. - There is _NO_ "TASK" and "PROCESS" so there is _NO WAY_ to change task user, so DO NOT delete original login command!!! FUTURE: ------- - Remove all bugs (and daffy) - Add background in window/screen. - Rewrite GUI to get smaller final code. HISTORY ------- 1.0 - First public release. (November '97)