Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Не работает авторизация #115

Open
derristy opened this issue Mar 29, 2023 · 1 comment
Open

Не работает авторизация #115

derristy opened this issue Mar 29, 2023 · 1 comment

Comments

@derristy
Copy link

derristy commented Mar 29, 2023

pyportal: controller.py #64 : fm-rpc:INFO [2023-03-29 20:17:01,503][178] [id:96006a66] Exec: MainController.action_authenticate({'login': b'test', 'password': b'test'})
pyportal: main_controller.py #72 : fm-rpc:DEBUG [2023-03-29 20:17:04,693][179] [id:96006a66] Process on_error() data: {'error': True,
'message': 'Not Authenticated - 7 (Authentication failure) ("test":"test"):',
'traceback': 'Traceback (most recent call last):\n'
' File "/rpc/lib/FileManager/workers/main/Authenticate.py", '
'line 12, in run\n'
' self.preload()\n'
' File "/rpc/lib/FileManager/workers/baseWorkerCustomer.py", '
'line 37, in preload\n'
" raise Exception('Not Authenticated - %s (%s) "
'("%s":"%s"):' % (p.code, p.reason, self.login, '
'self.password))\n'
'Exception: Not Authenticated - 7 (Authentication failure) '
'("test":"test"):\n'}
pyportal: main_controller.py #101 : fm-rpc:INFO [2023-03-29 20:17:04,697][178] [id:96006a66] Process on_finish()
pyportal: main_controller.py #102 : fm-rpc:INFO [2023-03-29 20:17:04,698][178] [id:96006a66] Process exit code 0 info = <Authenticate(Authenticate-1, stopped)>
pyportal: handler.py #77 : fm-rpc:DEBUG [2023-03-29 20:17:04,699][178] [id:96006a66] Request completed in seconds: 3.2014944553375244

@derristy
Copy link
Author

derristy commented Mar 31, 2023

Нашел решение

Нужно выполнить команду docker exec -t -i sprutio_rpc_1 bash после passwd root

После того как установили пароль нужно перенести файл cp /etc/shadow /mnt/etc/shadow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant