Unconditioned #include <shadow.h> breaks the build on FreeBSD.

FreeBSD doesn't have shadow.h and /etc/shadow. Hashed passwords are
stored in /etc/master.passwd, which is a /etc/passwd with additional
fields. There is no API specifically made to read /etc/master.passwd
because getpwent on FreeBSD automatically switches to use /etc/spwd.db
(the binary form of /etc/master.passwd) instead of /etc/pwd.db (the
binary form of /etc/passwd) when the user has permission to read the
file.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/941673/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to