chicken-hackers
[Top][All Lists]
Advanced

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

[Chicken-hackers] user-information update for OpenBSD


From: Timo Myyrä
Subject: [Chicken-hackers] user-information update for OpenBSD
Date: Tue, 19 Jul 2016 10:08:12 +0300

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. 

Which one would you prefer? I can make patch for it.

Timo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]