users batch import syntax

  • hi


    I can't manage to import users from csv


    the synax is: # <name>;<uid>;<comment>;<email>;<password>;<group,group,...>;<disallowusermod>


    but what is uid?


    i've try to run this but I've got an error


    user.name;1;comment;email;password;group



  • OK i've updated everthing


    still cannot import user:



    Code
    # <name>;<uid>;<comment>;<email>;<password>;<shell>;<group,group,...>;<disallowusermod>
    
    
    user.name;;;password;;;

    user.name;;;password;;; is enough to create user with password?

  • even examples from doucmentation are not working:


    Example outputs:
    # <name>;<uid>;<comment>;<email>;<password>;<shell>;<group,group,...>;<disallowusermod>user1;1001;user1;user1@myserver.com;password1;/bin/bash;sudo;1user2;1002;user2;user2@my.com;password2;/bin/sh;;0user3;1003;user3;user3@example.com;password3;/bin/false;;1user4;1004;user4;user4@test.com;password4;;;1user4;1004;user4;user4@test.com;password4;;;1 :

    Code
    Invalid line: user4;1004;user4;user4@test.com;password4;;;1

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!