cloudzh

Q: PAM authentication for non-admin passwordless accounts

Hi,

I set up gitosis on my Snow Leopard server. And then I updated to Lion Server. The problem is that when you set up gitosis you create a passwordless account for git (as per many linux/osx guides). Now everything was working fine in Leopard/Snow Leopard Server. But with Lion apparently it's not possible to access ssh with passwordless accounts?

 

I got this error in /var/log/secure.conf:

 

fatal: Access denied for user git by PAM account configuration

 

Now, after struggling for a while I just made the "git" user an "admin" ("allow user to administer this server"). Because apparently this allows it to be "passwordless". Is there any other _clener_ solution?

 

Regards,

 

~C   

Mac OS X (10.7), Server

Posted on Jul 25, 2011 9:25 AM

Close

Q: PAM authentication for non-admin passwordless accounts

  • All replies
  • Helpful answers