Platform independent adduser script?

Grant Edwards grante at visi.com
Fri Feb 18 10:25:11 EST 2005


On 2005-02-18, morphex <morphex at gmail.com> wrote:
> Hi there,
>
> does anyone here know of a script that enables adding of users on UNIX
> platforms via python?

os.system("adduser ... ") ?

The way that users are added on "UNIX platforms" varies.  Most
(Linux, BSD, Solaris) seem to have an "adduser" command.  I
don't know how consistent the format of the adduser arguements
are.

-- 
Grant Edwards                   grante             Yow!  Didn't I buy a 1951
                                  at               Packard from you last March
                               visi.com            in Cairo?



More information about the Python-list mailing list