Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3623 Adding users by script fails at second/third user

1.500
closed-fixed
Jamie Cameron
5
2010-03-04
2010-03-04
Karsten Jonas
No

Text in the box (i.e.):
create:s1dea14:s1dea::48865:s1dea14:/home/s1dea14:/bin/sh:::::
create:s1dea15:s1dea::48865:s1dea15:/home/s1dea15:/bin/sh:::::
create:s1dea16:s1dea::48865:s1dea16:/home/s1dea16:/bin/sh:::::

This adds the first user successfully and after that:
SQL insert into user (Host,User,Password,Select_priv,Insert_priv,Update_priv,Delete_priv,Create_priv,Drop_priv,Reload_priv,Shutdown_priv,Process_priv,File_priv,Grant_priv,References_priv,Index_priv,Alter_priv,Show_db_priv,Super_priv,Create_tmp_table_priv,Lock_tables_priv,Execute_priv,Repl_slave_priv,Repl_client_priv,Create_view_priv,Show_view_priv,Create_routine_priv,Alter_routine_priv,Create_user_priv) values ('', 's1dea15', password('s1dea'), 'N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N') schlug fehl: Column count doesn't match value count at row 1

Anyway: The user s1dea15 exists too in the system, user s1dea16 exists not!

Discussion

  • Karsten Jonas
    Karsten Jonas
    2010-03-04

    • milestone: --> 1.500
     
  • Jamie Cameron
    Jamie Cameron
    2010-03-04

    Thanks for pointing this out - it will be fixed in Webmin 1.510.

     
  • Jamie Cameron
    Jamie Cameron
    2010-03-04

    • status: open --> closed-fixed