SSH superuser access to NAT

Topics related to system security only
User avatar
FormattinG
Posts: 2
Joined: 29 Oct 2024, 02:42
Italy

Re: SSH superuser access to NAT

Post by FormattinG »

lshollis2024 wrote: 17 Sep 2024, 05:28
can you explain how you managed to use sudo -i thanks
User avatar
tommi2day
Posts: 56
Joined: 10 Jan 2023, 02:15
Germany

Re: SSH superuser access to NAT

Post by tommi2day »

there is no user named "root" in TOS, but the installation user is already the superuser but not named as root. no need for sudo afterwards. You can check this with id command.If it returns "uid=0" which means it has "root" privileges.
main: T9-450
User avatar
PoKeD
Posts: 5
Joined: 25 Dec 2024, 01:28
Spain

Re: SSH superuser access to NAT

Post by PoKeD »

Good afternoon, could you explain how you achieved superuser status? I am having problems creating Docker containers and configuring Tailscale, as it does not allow me to activate the exit node via SSH.
Thank you
F4-424 pro

TOS 6.0.610.00165
User avatar
IrisLi
TM Support
Posts: 146
Joined: 07 Aug 2023, 18:10

Re: SSH superuser access to NAT

Post by IrisLi »

PoKeD wrote: 28 Dec 2024, 20:36
After accessing TNAS through SSH terminal, enter the following command

Code: Select all

id
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
PoKeD
Posts: 5
Joined: 25 Dec 2024, 01:28
Spain

Re: SSH superuser access to NAT

Post by PoKeD »

Hello again, yes, doing id I observe that I have the id 0 of administrator, but equally if I have to modify a file for example of etc/ it does not leave me and tells me access denied.

How can I activate root user?

Thank you
F4-424 pro

TOS 6.0.610.00165
User avatar
neoz
Posts: 23
Joined: 19 Dec 2024, 17:01
Andorra

Re: SSH superuser access to NAT

Post by neoz »

FormattinG wrote: 01 Nov 2024, 23:56
Hi,

sudo -i command doesn't work. The "superuser" (or "superadmin",...) should be the user created in the installation. The user root account is disabled for prevent security reasons.

The sudo -i command reference in the telnet/terminal page configuration is a translation error. If you select the english language the reference to sudo -i disappears from the text. But in other languages (for example spanish) it's being displayed.
F4-424 Pro - TOS 6
User avatar
PoKeD
Posts: 5
Joined: 25 Dec 2024, 01:28
Spain

Re: SSH superuser access to NAT

Post by PoKeD »

Thanks
F4-424 pro

TOS 6.0.610.00165
User avatar
henryj
Posts: 2
Joined: 02 Apr 2025, 18:37
India

Re: SSH superuser access to NAT

Post by henryj »

Your current user likely doesn’t have sudo rights, and root access is disabled by default. Use the NAS admin account or check the web interface to enable root or grant sudo privileges. For installing databases, using Docker (if supported) is the easiest way without full root access.
User avatar
davidvisokey
Posts: 2
Joined: 03 Apr 2025, 13:41
India

Re: SSH superuser access to NAT

Post by davidvisokey »

I agree—without sudo access, it’s really hard to fix problems or make changes. It feels too restrictive, and there should be a way to let trusted users do what they need to.
Post Reply

Return to “Security”