CTerm service on Dashboard. What is it?

  • Hi, everybody!


    I recently found that the list of serivce showed a service name "CTerm" on the Dashboard of OpenMediaVault.


    My NAS system Information is as follows:


    OpenMediaVault Version

    7.7.7-1 (Sandworm)


    Processor & RAM

    Intel(R) Core(TM) i7-14700, 64GB DDR5 RAM


    Linux Kernel

    Linux 6.11.11-2-pve


    Extract of NAS Dashboard is attached.


    What does "CTerm" refer to ? Where can I find the information about it? I do not find any plugin named "CTerm", however.


    How can I remove it so as to NOT SHOW it on the list of services on the Dashboard of OpenMediaVault, even though it is not enabled or running?


    Thank you very much for your help!!




    Regards,


    cadelite

  • macom

    Approved the thread.
    • Official Post

    What does "CTerm" refer to ? Where can I find the information about it? I do not find any plugin named "CTerm", however.

    It is short for Compose Exec Terminal (new feature in the Compose plugin). That was too long for the services status so I named it CTerm for short.


    openmediavault-compose/debian/changelog at main · OpenMediaVault-Plugin-Developers/openmediavault-compose
    openmediavault plugin for docker-compose. Contribute to OpenMediaVault-Plugin-Developers/openmediavault-compose development by creating an account on GitHub.
    github.com


    How can I remove it so as to NOT SHOW it on the list of services on the Dashboard of OpenMediaVault, even though it is not enabled or running

    You can't.

    omv 8.0.10-2 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.6 | compose 8.1.3 | cterm 8.0 | borgbackup 8.1.5 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • It is short for Compose Exec Terminal (new feature in the Compose plugin). That was too long for the services status so I named it CTerm for short.


    https://github.com/OpenMediaVa…/main/debian/changelog#L3


    You can't.


    ryecoaaron, thank you for your reply.


    In fact, originally, I thought that it was "CTerm", a GitHub project (https://github.com/anbangli/cterm), and suspected that my NAS had been compromised by some virus/bots or some other unknown intruders. However, the mentioned project has not been updated for many years and the CTerm was shown on the Dashboard in the recent week. So I have been puzzled by it for quite a few days.


    Thank you very much for your reply and explanation!

  • chente

    Added the Label resolved
  • chente

    Added the Label OMV 7.x
    • Official Post

    suspected that my NAS had been compromised by some virus/bots or some other unknown intruders.

    We can't get people to help with plugins as it is. I doubt that someone would write a virus and add service status to OMV. So, it was definitely not an intruder : )

    omv 8.0.10-2 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.6 | compose 8.1.3 | cterm 8.0 | borgbackup 8.1.5 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • We can't get people to help with plugins as it is. I doubt that someone would write a virus and add service status to OMV. So, it was definitely not an intruder : )

    Yes, you are right, ryecoaaron. Your reply and explanation do double my confidence on the security and resilience of OMV. I think CTerm is seldomly used since the available options/preferences of Compose service in OMV are quite sufficient.


    Thank you all for your efforts on developing and maintaining such a brilliant NAS system!

  • Hello,


    I found the new CTerm plugin in my Open Media Vault. A great idea. Where can I find instructions for setting it up? I can't find anything on the official OMV and OMV Extras websites. I found something through Google that says you have to set up users for it under System → CTerm. Unfortunately, there's no CTerm entry under System, and under Services → CTerm you can only enable and disable CTerm.


    Thanks and regards

    Mic.

  • It is short for Compose Exec Terminal (new feature in the Compose plugin). That was too long for the services status so I named it CTerm for short.

    Thanks ryecoaaron is this a typical Terminal like the one we can SSH to OMV with user/root permissions or Compose-exclusive terminal? I am not familiar with this at all, hence my n00b question. Thank you.

    OpenMediaVault 7.7.12-1 • Intel NUC NUC6CAYH • Intel Celeron J3455 • 2x4GB RAM • Samsung 870 QVO 4TB • USB Boot (System)

    • Official Post

    Mic2024 did you install the plugin? Below the enable tick box there is an information

    "User must be in cterm group to login."


    That should be about everything you need to know.


    Maybe you need to clear your browser cache.

    • Official Post

    is this a typical Terminal like the one we can SSH to OMV with user/root permissions or Compose-exclusive terminal?

    If you enable "Host shell" you can access the host, so OMV. Otherwise you can access only the shell of containers.

  • I use the standard user "admin" to login to the WebGUI and I use the standard user "root" to login via SSH. Both users are not listed in the users tab of OMV WebGUI. How should I continue here?

    There is an another way. Login to OMV using SSH. Go to /etc directory and edit "group" file. Add user names to "cterm". I would use "macom" method though.

    Debian/KDE-Plasma 6, FreeBSD-KDE

    OMV8 NAS 2-10GB LACP bond0 Fiber, pfSense+ firewall/router

  • Like the name, and a very nice way of doing it. I do like how you can now access the shell from compose, kvm and the main interface both of all situations.

    OMV Version 8.latest | AMD Ryzen 5600G with 64GB | JBOD EXT4 & BRTFS

    Various Unifi router & switches | Only Linux laptops and PC's

  • For users who were using the 'exec terminal' function in the compose plugin, I've just checked. Now to use compose and kvm plugin 'exec terminal' function, you only need to have 'cterm' group added to your user, the same as in the main 'CTerm' plugin.


    You can remove the 'dockerterm' from your groups if you wish.

    OMV Version 8.latest | AMD Ryzen 5600G with 64GB | JBOD EXT4 & BRTFS

    Various Unifi router & switches | Only Linux laptops and PC's

    • Official Post

    There is no group named "cterm":

    It is a system group. I didn't want people editing it in the OMV web interface. I will be listed in the list of groups when you edit your user in the omv web interface to add the user to the cterm group. No need to use the command line.

    is this a typical Terminal like the one we can SSH to OMV with user/root permissions or Compose-exclusive terminal? I am not familiar with this at all, hence my n00b question. Thank you.

    Kind of. For docker, it is the equivalent of running the docker exec -it command. For lxc, it is the equivalent of virsh -c lxc:/// console. If you enable the host shell, it is basically a local console and doesn't use ssh.


    Like the name, and a very nice way of doing it. I do like how you can now access the shell from compose, kvm and the main interface both of all situations.

    Did you see the container term dashboard widget? It lists the containers with a link the terminal in a dashboard widget.

    You can remove the 'dockerterm' from your groups if you wish.

    Oops. I was going to have the compose plugin delete that group.

    omv 8.0.10-2 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.6 | compose 8.1.3 | cterm 8.0 | borgbackup 8.1.5 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • It is a system group. I didn't want people editing it in the OMV web interface. I will be listed in the list of groups when you edit your user in the omv web interface to add the user to the cterm group. No need to use the command line.

    This is fine. But which user do I need to edit. In the WebGUI I just can see my manually created docker user and smb user. No system user is listed there.

  • Did you see the container term dashboard widget? It lists the containers with a link the terminal in a dashboard widget.

    Yes, I could of worded that a little better, what I meant to get over was, that whatever you're working on whether in the docker or lxc tab, or just the host shell, you can use which ever you prefer, plus I like being able to jump straight into the container of choice when using compose or kvm.


    I think it's very good, Personally I'd like to have the choice to auto login, but I understand why you've gone down the login route you have. As I use Bitwarden I prefer the login popup rather than the way WeTTY things. (Yes, as others have pointed out to me, I can auto login from WeTTY in a docker container, but I believe WeTTY on the Dashboard uses Podman, and I've not really looked to see where the config files are stored, if there are any config files.)


    Personally I don't expect to use ssh that much going forward, unless the cli you've used can't do something that the debian cli can do.


    A very nice addition to OMV all round!!

    OMV Version 8.latest | AMD Ryzen 5600G with 64GB | JBOD EXT4 & BRTFS

    Various Unifi router & switches | Only Linux laptops and PC's

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!