Commit 6b08464b authored by Daniel STAN's avatar Daniel STAN

dump_creds: ajout du dump de mdp compte crans

parent efc13672
#!/bin/bash /usr/scripts/python.sh
# -*- coding: utf-8 -*-
from __future__ import print_function
......@@ -44,7 +45,13 @@ elif not res:
exit(2)
else:
item = res[0]
if 'uid' not in item:
conf_reset_password = False
item.display()
if conf_reset_password:
print("Le mot de passe (compte Crans) sera également réinitialisé")
while True:
c = prompt("[O/N]").lower()
if c == 'n':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment