[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Checking user-id's and paswords



>At 10.56 7/10/97, Strider wrote:
>>>Is it possible from within MacPerl to check a supplied
>>>username/password against the users setup in 'Users and Groups'?
>
>>I know a very good (and difficult) way to do it:
>>
>>Write the crypt() routine in Javascript or Java, and have it submit an
>>encrypted password to be decrypted with perl's crypt() routine, or
>>
>>Use a DES routine (similarly constructed) and then use DES.pl to get the
>>password back out.
>
>But none of those will give access to the user name/password used in the
>MacOS Users & Groups settings.

granted- I forgot that part. the previous covered only security.

There is an applescript OSAX which allows u/g interface. It is possible, I
think, to use that through an applescript to get U/G info.

-Seraph



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch