N2200 Module ROOTCMD

From NAS-Central Thecus Wiki

Jump to: navigation, search

Contents

Facts

  • Name: ROOTCMD
  • Maintainer: Misha Verplak
  • Target: N2200
  • Latest version: 1.5

Warnings/Alerts

Warning: If you are not familiar with Linux please be aware that running commands as root will allow you to corrupt the N2200. It is highly recommended to practice commands on another Linux box.

Description

The ROOTCMD module sends user-entered commands from the web page to the linux command shell, to be executed as a shell script by the root user. See also N2200 How To Create Module.

Features

  • Multiline command entry.
  • Capture and display to user of stdout and stderr.
  • Command history, remembers last 30 lines of commands.
  • List of possibly useful commands, for reference by newcomers to linux or to the N2200.
  • No intrusive changes to the NAS.
  • Uninstall removes all files including command history.

News

  • 2011-07-05: Add check for administrator authentication.
  • 2010-03-06: Store output in module directory, because /tmp has size limitation.
  • 2010-02-23: Looks like V1.3 did not work on M3800, probably guessed wrong folder structures.
  • 2010-02-17: Attempt to support N2200, N0204, N3200PRO, M3800
  • 2010-02-16: Removed debugging code, oops!
  • 2010-02-16: Allow older firmware version.
  • 2010-02-14: One user had fail result when try to enable.
  • 2010-02-13: First version uploaded to NAS Central.

Versions

  • Version 1.5
    • Release date: 2011-07-05
    • Works on firmware: 3.00.04 and above, tested on 3.00.08
    • Untested on firmware: N0204 3.00.04+, N3200PRO 1.00.03+, M3800 1.00.03+
    • Download (zip): N2200-ROOTCMD-1.5.zip
    • Major changes: Add check for administrator authentication.
  • Version 1.4
    • Release date: 2010-03-06
    • Works on firmware: 3.00.04 and above, tested on 3.00.08
    • Untested on firmware: N0204 3.00.04+, N3200PRO 1.00.03+, M3800 1.00.03+
    • Download (zip): N2200-ROOTCMD-1.4.zip
    • Major changes: Store output in module directory.
  • Version 1.3
    • Release date: 2010-02-17
    • Works on firmware: 3.00.04 and above, tested on 3.00.08
    • Untested on firmware: N0204 3.00.04+, N3200PRO 1.00.03+, M3800 1.00.03+
    • Download (zip): N2200-ROOTCMD-1.3.zip
    • Major changes: attempt to support other Thecus NAS hardware.
  • Version 1.2
    • Release date: 2010-02-16
    • Works on firmware: 3.00.04 and above, tested on 3.00.07F, 3.00.08
    • Download (zip): N2200-ROOTCMD-1.2.zip
    • Major changes: remove debugging code incompatible with other systems.
  • Version 1.1
    • Release date: 2010-02-16
    • Works on firmware: 3.00.04 and above, tested on 3.00.07F, 3.00.08
    • Download (zip): N2200-ROOTCMD-1.1.zip
    • Major changes: first version released.
  • Version 1.0
    • Release date: 2010-02-13
    • Works on firmware: 3.00.07F, 3.00.08
    • Download (zip): N2200-ROOTCMD-1.0.zip
    • Major changes: first version released.

N2200 Modules

Personal tools
Thecus Portal