X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fspecialaccounts.py;h=fb33688f5083e2bcd27802dfc17c62581550596b;hb=8a73c41fa38f330fd125d85d693d1390ea2477a4;hp=1fa15e1e536026cfcd8bbba6d1b06c5cbd9dc85d;hpb=74a8cfb9d2eac39ae02e5323e1fb5b1d33297981;p=nodemanager.git diff --git a/plugins/specialaccounts.py b/plugins/specialaccounts.py index 1fa15e1..fb33688 100644 --- a/plugins/specialaccounts.py +++ b/plugins/specialaccounts.py @@ -22,6 +22,9 @@ import pwd import logger import tools +# right after conf_files +priority = 3 + def start(options, conf): logger.log("personkeys: plugin starting up...") @@ -34,6 +37,8 @@ def GetSlivers(data, conf = None, plc = None): name = account['name'] new_keys = account['keys'] + logger.log('specialaccounts: dealing with account %s'%name) + # look up account name, which must exist pw_info = pwd.getpwnam(name) uid = pw_info[2]