Skip to content

[Enhancement]: Open Terminal Sudo #4899

@ItMeCorban

Description

@ItMeCorban

App Name

Open Terminal

Current Version (TrueNAS Catalog App Version)

1.4.5

Enhancement Description

Disable the no new privileges flag for open terminal

Use Case

The config of this container requires use of environment variables to install packages into the container at runtime. This process makes use of sudo.

When trying to use the variable to install packages or in fact just trying to run sudo in the terminal itself gives the error:

sudo: The "no new privileges" flag is set, which prevents sudo from running as root.
sudo: If sudo is running in a container, you may need to adjust the container configuration to disable the flag.
sudo: The "no new privileges" flag is set, which prevents sudo from running as root.
sudo: If sudo is running in a container, you may need to adjust the container configuration to disable the flag.

Proposed Solution

I see from another issue 3157 that the flag was removed for that app, so perhaps the same can be done for Open Terminal

Alternatives Considered

Given the nature of the app and it's intended use (ai system intergration) it might be nice to have a checkbox in the app setup to toggle sudo access

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions