Peter Bex scripsit:

> Yeah, but what if you're writing, say, a login manager or ssh replacement
> in Scheme?  Then you need to be able to crypt & compare the password and
> preferably use a portable API to get the crypted password.

Then make such a portable API and don't try to use getpasswd() at all.
Most modern systems have a service of some kind to handle login anyway.

-- 
John Cowan          http://www.ccil.org/~cowan        [email protected]
Micropayment advocates mistakenly believe that efficient allocation of
resources is the purpose of markets.  Efficiency is a byproduct of market
systems, not their goal.  The reasons markets work are not because users
have embraced efficiency but because markets are the best place to allow
users to maximize their preferences, and very often their preferences are
not for conservation of cheap resources.  --Clay Shirky

_______________________________________________
Chicken-hackers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to