This commit is contained in:
brent s 2019-08-15 07:08:42 -04:00
parent 4f1b311a79
commit 138d3f35bb

View File

@ -60,7 +60,7 @@ class UserAdder(object):
'no-agent-forwarding,'
'no-user-rc '
'{keystr}\n')
for u, kp in self.users:
for u, kp in self.users.items():
userent = pwd.getpwnam(u)
homedir = userent.pw_dir
key_insert = key_template.format(user = u,