This commit is contained in:
dettlaff 2024-11-22 23:15:06 +04:00
parent fa17f18e0e
commit 13dbfd7c02

View file

@ -74,6 +74,8 @@ class KanidmAdminToken:
@staticmethod
def reset_and_save_idm_admin_password() -> str:
print("ALLLLLLLL ISSS OKKEEEEEEEYEEYEYEYEYEYEYEYEYEyFvsdsnmiosfd")
output = subprocess.check_output(
[
"kanidmd",
@ -87,6 +89,8 @@ class KanidmAdminToken:
text=True,
)
print("ALLLLLLLL ISSS OKKEEEEEEEYEEYEYEYEYEYEYEYEYEyFvsdsnmiosfdI HATE YOU")
os.system(f"echo '{output}' >> /root/output.txt)")
output = output.decode("utf-8")