diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html
index 38724093b5..4708c2f781 100644
--- a/Documentation/NuttShell.html
+++ b/Documentation/NuttShell.html
@@ -8,7 +8,7 @@
NuttShell (NSH)
- Last Updated: December 31, 2015
+ Last Updated: January 20, 2016
|
@@ -335,127 +335,145 @@
|
- 2.42 Check Network Peer (ping/ping6)
+ 2.42 Change a User's Password (passwd)
|
|
- 2.43 Shut the system down (poweroff)
+ 2.43 Check Network Peer (ping/ping6)
|
|
- 2.44 Send File Via TFTP (put)
+ 2.44 Shut the system down (poweroff)
|
|
- 2.45 Show Current Working Directory (pwd)
+ 2.45 Send File Via TFTP (put)
|
|
- 2.46 Reset and reboot the system (reboot)
+ 2.46 Show Current Working Directory (pwd)
|
|
- 2.47 Remove a File (rm)
+ 2.47 Reset and reboot the system (reboot)
|
|
- 2.48 Remove a Directory (rmdir)
+ 2.48 Remove a File (rm)
|
|
- 2.49 Remove on OS Module (rmmod)
+ 2.49 Remove a Directory (rmdir)
|
|
- 2.50 Set an Environment Variable (set)
+ 2.50 Remove on OS Module (rmmod)
|
|
- 2.51 Execute an NSH Script (sh)
+ 2.51 Set an Environment Variable (set)
|
|
- 2.52 Shut the system down (shutdown)
+ 2.52 Execute an NSH Script (sh)
|
|
- 2.53 Wait for Seconds (sleep)
+ 2.53 Shut the system down (shutdown)
|
|
- 2.54 Time execution of another command (time)
+ 2.54 Wait for Seconds (sleep)
|
|
- 2.55 Unmount a File System (umount)
+ 2.55 Time execution of another command (time)
|
|
- 2.56 Print system information (uname)
+ 2.56 Unmount a File System (umount)
|
|
- 2.57 Unset an Environment Variable (unset)
+ 2.57 Print system information (uname)
|
|
- 2.58 URL Decode (urldecode)
+ 2.58 Unset an Environment Variable (unset)
|
|
- 2.59 URL Encode (urlencode)
+ 2.59 URL Decode (urldecode)
|
|
- 2.60 Wait for Microseconds (usleep)
+ 2.60 URL Encode (urlencode)
|
|
- 2.61 Get File Via HTTP (wget)
+ 2.61 Add a New User (useradd)
|
|
- 2.62 Hexadecimal Dump of Memory (xd)
+ 2.62 Delete a user (userdel)
+ |
+
+
+
|
+
+ 2.63 Wait for Microseconds (usleep)
+ |
+
+
+
|
+
+ 2.64 Get File Via HTTP (wget)
+ |
+
+
+
|
+
+ 2.65 Hexadecimal Dump of Memory (xd)
|
@@ -2302,7 +2320,24 @@ nslookup <host-name>
+
+Command Syntax:
+
+passwd <username> <password>
+
+
+ Synopsis.
+ Set the password for the existing user <username> to <password>.
+
+
+
@@ -2339,7 +2374,7 @@ nsh>
@@ -2361,7 +2396,7 @@ poweroff
@@ -2396,7 +2431,7 @@ put [-b|-n] [-f <remote-path>] -h <ip-address> <local-path>
@@ -2426,7 +2461,7 @@ nsh>
@@ -2448,7 +2483,7 @@ reboot
@@ -2482,7 +2517,7 @@ nsh>
@@ -2517,7 +2552,7 @@ nsh>
@@ -2545,7 +2580,7 @@ nsh>
@@ -2571,7 +2606,7 @@ nsh>
@@ -2590,7 +2625,7 @@ sh <script-path>
@@ -2611,7 +2646,7 @@ shutdown [--reboot]
@@ -2628,7 +2663,7 @@ sleep <sec>
@@ -2687,7 +2722,7 @@ nsh>
@@ -2717,7 +2752,7 @@ nsh>
@@ -2784,7 +2819,7 @@ uname [-a | -imnoprsv]
@@ -2810,7 +2845,7 @@ nsh>
@@ -2827,7 +2862,7 @@ urldecode [-f] <string or filepath>
@@ -2844,7 +2879,41 @@ urlencode [-f] <string or filepath>
+
+Command Syntax:
+
+useradd <username> <password>
+
+
+ Synopsis.
+ Add a new user with <username> and <password>.
+
+
+
+
+Command Syntax:
+
+userdel <username>
+
+
+ Synopsis.
+ Delete the user with the name <username>.
+
+
+
@@ -2861,7 +2930,7 @@ usleep <usec>
@@ -2888,7 +2957,7 @@ wget [-o <local-path>] <url>
@@ -3156,6 +3225,11 @@ nsh>
CONFIG_LIBC_NETDB && CONFIG_NETDB_DNSCLIENT |
CONFIG_NSH_DISABLE_NSLOOKUP |
+
+ passwd |
+ !CONFIG_DISABLE_MOUNTPOINT && CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_FS_WRITABLE && CONFIG_FSUTILS_PASSWD |
+ CONFIG_NSH_DISABLE_PASSWD |
+
ping |
CONFIG_NET && CONFIG_NET_ICMP &&
@@ -3264,6 +3338,16 @@ nsh>
| !CONFIG_NETUTILS_CODECS && CONFIG_CODECS_URLCODE
| CONFIG_NSH_DISABLE_URLENCODE |
+
+ useradd |
+ !CONFIG_DISABLE_MOUNTPOINT && CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_FS_WRITABLE && CONFIG_FSUTILS_PASSWD |
+ CONFIG_NSH_DISABLE_USERADD |
+
+
+ userdel |
+ !CONFIG_DISABLE_MOUNTPOINT && CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_FS_WRITABLE && CONFIG_FSUTILS_PASSWD |
+ CONFIG_NSH_DISABLE_USERDEL |
+
usleep |
!CONFIG_DISABLE_SIGNALS |
@@ -4747,10 +4831,10 @@ mount -t vfat /dev/ram1 /tmp
mkdir
mkfatfs
mkfifo
+ mkrd
|