PAM authentication problem

前端 未结 3 1950
小鲜肉
小鲜肉 2021-01-03 04:55

I am using this module to authenticate using pam: http://code.google.com/p/web2py/source/browse/gluon/contrib/pam.py

I can call authenticate(\'username\',\'password\

3条回答
  •  感情败类
    2021-01-03 05:26

    I had the same issue root was not getting authenticated. here is the fix

    If you use the service 'login' it wont work for root. use,

    #authenticate('username','password',service='system-auth')
    

提交回复
热议问题