diff --git a/configs/sim/include/.gitignore b/configs/sim/include/.gitignore new file mode 100644 index 00000000000..0561ac18486 --- /dev/null +++ b/configs/sim/include/.gitignore @@ -0,0 +1,2 @@ +/etc +/romfs_img diff --git a/configs/sim/include/README.txt b/configs/sim/include/README.txt index dac6bedbcf7..b8403f7fc6e 100644 --- a/configs/sim/include/README.txt +++ b/configs/sim/include/README.txt @@ -85,7 +85,10 @@ README Now rebuild the simulation. No login should be required to enter the shell and you should find the 'useradd', 'userdel', and 'passwd' commands - available in the help summary. + available in the help summary, provided that they are enabled. Make + certain that the 'useradd' command is not disabled: + + # CONFIG_NSH_DISABLE_USERADD is not set Use the NSH 'useradd' command to add new uses with new user passwords like: diff --git a/configs/sim/include/etc.tar.gz b/configs/sim/include/etc.tar.gz index ef280e64cef..0e598a66d45 100644 Binary files a/configs/sim/include/etc.tar.gz and b/configs/sim/include/etc.tar.gz differ diff --git a/configs/sim/include/nsh_romfsimg.h b/configs/sim/include/nsh_romfsimg.h index ea107ef7093..23895b27b45 100644 --- a/configs/sim/include/nsh_romfsimg.h +++ b/configs/sim/include/nsh_romfsimg.h @@ -1,7 +1,7 @@ const unsigned char romfs_img[] = { - 0x2d, 0x72, 0x6f, 0x6d, 0x31, 0x66, 0x73, 0x2d, 0x00, 0x00, 0x01, 0xa0, - 0x83, 0xe9, 0x44, 0x8c, 0x53, 0x69, 0x6d, 0x45, 0x74, 0x63, 0x56, 0x6f, + 0x2d, 0x72, 0x6f, 0x6d, 0x31, 0x66, 0x73, 0x2d, 0x00, 0x00, 0x01, 0x90, + 0xf3, 0x09, 0x03, 0xc1, 0x53, 0x69, 0x6d, 0x45, 0x74, 0x63, 0x56, 0x6f, 0x6c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x49, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0xd1, 0xff, 0xff, 0x97, 0x2e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, @@ -28,12 +28,12 @@ const unsigned char romfs_img[] = 0x72, 0x61, 0x6d, 0x32, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x20, 0x2d, 0x74, 0x20, 0x76, 0x66, 0x61, 0x74, 0x20, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x72, 0x61, 0x6d, 0x32, 0x20, 0x2f, 0x74, 0x6d, 0x70, 0x0a, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x27, - 0x18, 0x3a, 0x8c, 0x5c, 0x70, 0x61, 0x73, 0x73, 0x77, 0x64, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1d, + 0x18, 0x3a, 0x8c, 0x6e, 0x70, 0x61, 0x73, 0x73, 0x77, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x61, 0x64, 0x6d, 0x69, - 0x6e, 0x20, 0x63, 0x37, 0x66, 0x61, 0x66, 0x34, 0x66, 0x63, 0x62, 0x61, - 0x37, 0x37, 0x61, 0x65, 0x36, 0x36, 0x62, 0x36, 0x33, 0x34, 0x39, 0x64, - 0x37, 0x34, 0x62, 0x30, 0x39, 0x33, 0x34, 0x32, 0x66, 0x33, 0x0a, 0x00, + 0x6e, 0x20, 0x38, 0x54, 0x76, 0x2b, 0x48, 0x62, 0x6d, 0x72, 0x33, 0x70, + 0x4c, 0x64, 0x64, 0x53, 0x6a, 0x74, 0x7a, 0x4c, 0x30, 0x6b, 0x77, 0x43, + 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, @@ -89,3 +89,4 @@ const unsigned char romfs_img[] = }; const unsigned int romfs_img_len = 1024; +