On Tuesday 03 May 2005 11:51, Kristaps Kaupe wrote: > Could you also check %ETC% directory? I like to have all configuration > files in the same place. ETC is already used by programs ported from *NIX > systems and many others.
Well, we are in DOS, not Unix.... I don't see clearly the advantages of looking into an variable for getting the users/passwords list... Can someone explain that to me? > Maybe this could be changable with some command-line switch (e.g. /D=dev - > specify input/output device to use, defaults to stdin/stdout). I don't see such needs... I will wait for other's opinions thought... > P.S. Can I check from autoexec.bat which login is entered? I want to have > different configurations (keyboard layout, mapped network drives, etc...). > Maybe PASSWORD could create some batch file with loginname (for example, > @set login=testlogin), where I could append commands I need? FD Password do exactly the same thing you told. It create a batch file in his own directory called "LASTUSER.BAT". By the way, the install.bat batch add to AUTOEXEC the two following lines: C:\PASSWORD\PASSWORD.EXE /login CALL C:\PASSWORD\LASTUSER.BAT So if you installed FD Password, you have after each boots an environment variable "USER" with your login. With that you can easily do various configurations for each user ;-) > Also, good > thing would be ability to ask PASSWORD to run some other password programs > after login and automatically enter login and password (if I have local and > NetWare/SMB login/password the same, I don't want to enter password twice). No. It's basically impossible, as for security reasons FD Password don't stores the user's password anywhere, it just saves its checksum with a SDBM hash and then works only on the stored checksums. Maybe you should set on NetWare/SMB login=password and then use the USER variable? Thanks for the interest about FD Password :) Fox ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user