Comment 2 for bug 1743558

Revision history for this message
Andreas Hasenack (ahasenack) wrote : Re: Runtime dependency on a universe package

Instead of:
        result, output = self.call_popen(["usermod", "-p", crypted, username])

we could do the equivalent of

echo username:password | chpasswd

and use the clear text password. When using popen, the username:password bit won't even show up in the command line.