On Thursday, August 29, 2002, at 02:32 , david wrote: [..] > from Brian's code, it seems to me that he's running a windows machine so > the > getpw* stuff you refers to might not be available for him. again, i seldom > develop anything in windows, so i can't be sure. [..]
given that I do not have a 'passwd' entry local on the OSX box I am working on - i have a level of confidence that Brian could test it, and see if he can get at least his own from the domain controller and/or NIS server ... I like your NDBM idea - stylish, chic - but a minor nit to pick with you a) use DB_FILE; is not required or were you being polite about it and vectoring back to the traditional and meant to imply reseting the cache size, etc, etc, etc.... b) there is the ikky with the 'tie' that could be having issues with the lack of parens tie (%hash,"NDBM_File","auth",O_RDWR|O_CREAT, 0640) || die "problem with tie: $! \n"; actually works on both sides - and there is really no hard core reason to make it executable... Granted anyone who can 'read' the perl executable will be able to 'read' the file just as easily... but that's a part of 'how safe' and how secure.... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]