Commit Graph

18 Commits

Author SHA1 Message Date
Gregory Nutt
07cf99130c nsh_stdsession() cannot use the same login logic as nsh_session(); Also put telnet login in a separate file for symmetry 2016-01-20 15:22:02 -06:00
Gregory Nutt
93d9d5e4ca apps/nshlib: All NSH sessions may now be protected with passwords stored in the encrypted /etc/passwd file 2016-01-20 14:42:39 -06:00
Gregory Nutt
3dad8a29a2 NSH now supports an MOTD string that will be presented after the greeting 2016-01-20 11:18:08 -06:00
Gregory Nutt
a7121f98d9 Fix some errors that I introduced into NSH telnet this morning 2014-10-29 15:25:34 -06:00
Gregory Nutt
21d498f695 Fix some typos 2014-10-29 10:48:50 -06:00
Gregory Nutt
5d360c72b9 Fix problem with trailing whitespace (newline) in Telnet username/password. Noted by Lazlo 2014-10-29 10:29:21 -06:00
Gregory Nutt
633fae427d NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed. 2014-07-04 19:13:08 -06:00
Gregory Nutt
b9cf7acb1a More trailing whilespace removal 2014-04-13 16:24:28 -06:00
Gregory Nutt
171db56b69 Make sure that there is one space after for 2014-04-12 13:28:22 -06:00
Gregory Nutt
89526241af For Telnetd password/username fixes from Bertikd Van den Bergh 2014-02-22 11:55:30 -06:00
Gregory Nutt
f1628d5055 NSH telnet: Use strncpy vs strcpy to avoid overrunning username and password buffers. From Bertold Van den Bergh 2014-02-22 10:31:20 -06:00
patacongo
978d3212ff Add support for a login script (in addition to the init script); Add logic so that a USB console session can connect and reconnect to the USB serial device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5582 42af7a65-404d-4744-a932-0658087f49c3
2013-01-29 22:11:04 +00:00
patacongo
9c58ee4a6f You can now configure a login for Telnet NSH session -- from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5231 42af7a65-404d-4744-a932-0658087f49c3
2012-10-12 16:59:17 +00:00
patacongo
bd5fd05965 Fix read() return value for the case of permissions problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4545 42af7a65-404d-4744-a932-0658087f49c3
2012-03-31 15:13:12 +00:00
patacongo
f392209c72 NSH now uses the new Telnet daemon and built-in tasks started by NSH can be used over Telnet
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4361 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 16:04:09 +00:00
patacongo
a399c7bddf Additional changes for clean NSH build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3400 42af7a65-404d-4744-a932-0658087f49c3
2011-03-19 17:29:36 +00:00
patacongo
a05c1d4bc2 Update documentation, change CONFIG_EXAMPLES_NSH to CONFIG_NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3394 42af7a65-404d-4744-a932-0658087f49c3
2011-03-18 20:35:31 +00:00
patacongo
4923fdabc1 Move NSH to apps/ as library
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3393 42af7a65-404d-4744-a932-0658087f49c3
2011-03-18 19:46:25 +00:00