openbmc / phosphor-networkd

Apache License 2.0
18 stars 49 forks source link

userman.py uses expects from a system call #9

Closed nkskjames closed 1 year ago

nkskjames commented 8 years ago

userman.py uses pexpect to expect prompts from adduser system call. We need a cleaner way to add users.

anoo1 commented 8 years ago

This could be done by switching useradd to the one that takes arguments. Would be parallel to implementing PAM https://github.com/openbmc/openbmc/issues/260

anoo1 commented 8 years ago

@hramasub can take a look.