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

Re: update on Debian/FreeBSD



I'm aware FreeBSD has a different way to handle shadow passwords. The difficulty is that update-passwd doesn't know that. It thinks it needs some of those functions to work. Quite a few debian packages rely on update-passwd to be able to add users and groups, so I'm probably going to need to look at rewriting it, or at least adding some #ifdef's.

A bigger problem is that I don't know how many other things are broken, like adduser, passwd, login, etc. And after I get this working, I get to play with PAM... Andreas Krennmair writes:
On Thu, Aug 02, 2001 at 09:49:07PM -0400, utsl@quic.net wrote:
*  shadow.h: FreeBSD doesn't seem to implement the standard shadow password
   functions in it's libc. (No getspnam and friends.) So far, I've learned that
   this breaks base-passwd.
shadow password stuff is handled by the usual getpwnam & co functions.
-> no need for extra handling unshadowed and shadowed passwd files.
Joerg Wunsch told me so when I tried to port the predecessor of my login
program francine[0] to FreeBSD.
Regards,
Andreas Krennmair
[0]: http://francine.sourceforge.net/
--
"Tux, was isst du denn da?"
"Ooch, nichts besonderes, nur ein gegrilltes Chamaeleon."




Reply to: