Oh, one more thing -- the crypted password system must use the system
crypt functions, not use an embedded method since the system may be
configured for different systems:

static gchar *
make_crypted (const gchar *plain)
{
...
        /* SHA 256 */
        g_string_append (salt, "$6$");

This whole routine should be replaced with a call to "chpasswd -S"
though that option appears to busted in natty. Regardless, the
/etc/login.defs "ENCRYPT_METHOD" needs to be used, and preferably with
tools from the "shadow" package.

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

Title:
  [MIR] accountsservice

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

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

Reply via email to