r100gs
September 1, 2020, 12:12pm
1
Hello,
I set my Administator-Account like in this article: https://www.univention.de/blog-de/2020/06/kontosperrung-nach-fehlgeschlagenen-anmeldeversuchen/
Now my Administrator-Account is locked, what can I do?
SSH is not working, too
The Password I use is the correct one, thats shure.
Edit:
I tried this
Hi,
i have been searching for this everywhere, but none of the hints helped to fix the issue.
Since an update to 4.4.4 we can’t login to UMC as Administrator anymore.
Root can still login to ssh, so we tried quite a few things, including resetting the Administrator password
udm users/user modify --dn uid=Administrator,cn=users,"$(ucr get ldap/base)" \
--set password=YourNewPassword \
--set overridePWHistory=1 \
--set pwdChangeNextLogin=0
or reissuing the complete Administrator account…
but root is locked too
Best regards,
Stefan
tafkaz
September 1, 2020, 2:45pm
2
Hi,
what does
udm users/user list --filter username=Administrator | grep -i disabled:
tell you?
if you see a disabled: 1, then
udm users/user modify --dn <DN> --set disabled=0
should be helpful.
You will find the correct DN for example with:
udm users/user list --filter username=Administrator | grep DN:
cheers
Sascha
tafkaz
September 1, 2020, 2:50pm
3
r100gs:
but root is locked too
Best regards,
Stefan
whoops, overread this…
root, locked?
how did you manage?
Well…don’t really know, what could be done if it is really locked, but if it’s only the wrong password, you might want to boot with some system restore CD or ISO.
I myself learned to love GRML for these kind of things…
So…first unlock or set a new password for root, then enable Administrator again.
Good luck
Sascha
r100gs
September 1, 2020, 3:16pm
4
This is what I get when I try to login in:
[stefan@r…$ ssh Administrator@192.168.88.11
Account locked due to 56 failed logins
Account locked due to 57 failed logins
Account locked due to 58 failed logins
Administrator@192.168.88.11 : Permission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).
[stefan@r…]$ ssh root@192.168.88.11
Account locked due to 65534 failed logins
Account locked due to 65534 failed logins
Account locked due to 65534 failed logins
root@192.168.88.11 : Permission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).
[stefan@r…]$ ssh root@192.168.88.11
Account locked due to 65534 failed logins
Account locked due to 65534 failed logins
Account locked due to 65534 failed logins
root@192.168.88.11 : Permission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).
[stefan@r…$ ~