* Timo Myyrä <[email protected]> [160719 09:20]:
> Hi,
>
> OpenBSD-current was changed so that shadow database isn't opened by default 
> anymore:
> http://article.gmane.org/gmane.os.openbsd.cvs/155646
>
> This affects calls to getpwnam and getpwuid functions which chicken uses for 
> the
> user-information procedure.
>
> I see two ways to fix this:
>
> 1) add defined(__OpenBSD__) checks to posixunix.scm to call the shadow 
> versions of
>    these functions if the encrypted password is really needed.
>
> or
>
> 2) add note to user-information that the OpenBSD doesn't provide the encrypted
>    password and check if any eggs depend on having the password.

Maybe it makes sense to split out the sensitive information from the
user-information for all Operating systems and thinking of another set
of procedures that will produce the credentials. These can then use OS
specific functions to get at the information.

What do you think?

Christian

--
May you be peaceful, may you live in safety, may you be free from
suffering, and may you live with ease.

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

Reply via email to