I'm using Ubuntu 20 on WLS2 / Windows 10 x64 bit, when I do :
root@DESKTOP-N9UN2H3:/mnt/i/macos-haxm/wok# python3 src/wokd
rc: 3 error: returned from cmd: service nginx status
Starting nginx nginx
I go to https://localhost:8001 and when I get the login prompt I enter the username and password that I use to become root (but i tried also to use the credentials of a normal user) but it fails to authenticate. When it refuses the connection it gives an error,but it appears very fast and then it disappears and I'm not able to see it.
this is how looks the file /usr/lib/python3/dist-packages/wok/auth.py
@staticmethod
def authenticate(username, password, service='system-auth'):
"""Returns True if authenticate is OK via PAM."""
def _auth(result):
def _pam_conv(auth, query_list, userData=None):
resp = []
for i in range(len(query_list)):
but I see that the code of my auth.py file has been already fixed. Anyway,it does not work. So,it has not been fixed properly or there is something that I need to know.
Hello.
I'm using Ubuntu 20 on WLS2 / Windows 10 x64 bit, when I do :
root@DESKTOP-N9UN2H3:/mnt/i/macos-haxm/wok# python3 src/wokd rc: 3 error: returned from cmd: service nginx status
I go to https://localhost:8001 and when I get the login prompt I enter the username and password that I use to become root (but i tried also to use the credentials of a normal user) but it fails to authenticate. When it refuses the connection it gives an error,but it appears very fast and then it disappears and I'm not able to see it.
this is how looks the file /usr/lib/python3/dist-packages/wok/auth.py
I found the same problem here :
https://github.com/kimchi-project/kimchi/issues/1232
but I see that the code of my auth.py file has been already fixed. Anyway,it does not work. So,it has not been fixed properly or there is something that I need to know.