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

Cannot start aker #87

Open
nfieric opened this issue Mar 4, 2019 · 1 comment
Open

Cannot start aker #87

nfieric opened this issue Mar 4, 2019 · 1 comment

Comments

@nfieric
Copy link

nfieric commented Mar 4, 2019

I receive the below error when trying to start aker.py. CentOS7, Python 2.7.5. Any idea why this would be occurring?

[root@localhost aker]# ./aker.py
Traceback (most recent call last):
File "./aker.py", line 174, in
Aker().build_tui()
File "./aker.py", line 130, in init
self.user = User(self.posix_user)
File "./aker.py", line 81, in init
self.hosts = Hosts(config, self.name, gateway_hostgroup, idp)
File "/usr/bin/aker/hosts.py", line 88, in init
self.idp = IdPFactory.getIdP(idp)(config, username, gateway_hostgroup)
File "/usr/bin/aker/IdPFactory.py", line 35, in getIdP
return idp_class
UnboundLocalError: local variable 'idp_class' referenced before assignment

@anazmy
Copy link
Contributor

anazmy commented Mar 4, 2019

What is the content of "/etc/aker/aker.ini" ?

Also, aker is not meant to be ran in that way. Please check the readme for details of the installation. Ideally you should have aker enforced on sshd side: ForceCommand /usr/bin/aker/aker.py

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

2 participants