whoops
This commit is contained in:
parent
4f1b311a79
commit
138d3f35bb
@ -60,7 +60,7 @@ class UserAdder(object):
|
|||||||
'no-agent-forwarding,'
|
'no-agent-forwarding,'
|
||||||
'no-user-rc '
|
'no-user-rc '
|
||||||
'{keystr}\n')
|
'{keystr}\n')
|
||||||
for u, kp in self.users:
|
for u, kp in self.users.items():
|
||||||
userent = pwd.getpwnam(u)
|
userent = pwd.getpwnam(u)
|
||||||
homedir = userent.pw_dir
|
homedir = userent.pw_dir
|
||||||
key_insert = key_template.format(user = u,
|
key_insert = key_template.format(user = u,
|
||||||
|
Loading…
Reference in New Issue
Block a user