Unable to edit text file eg. vi vim nano

Permissions, domain/LDAP, power, security, notification and more.
Locked
User avatar
slyfox
Posts: 16
Joined: 18 Feb 2023, 21:48

Unable to edit text file eg. vi vim nano

Post by slyfox »

I'm trying to edit a text file through the terminal (ssh) since I get an error:
Access through untrusted domain
Please contact your administrator. If you are an administrator, edit the "trusted_domains" setting in config/config.php like the example in config.sample.php.

Since I don't know what text editor is installed I tried vi, vim, nano, emacs exc. but all I get is:
sudo: unknown user: root
sudo: unable to initialize policy plugin
I also tried rpm -a to see what text editor is installed but I get the same.
What is the bash text editor in TOS 5?
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: Unable to edit text file eg. vi vim nano

Post by outkastm »

sudo is not needed anymore on TOS5, just type

Code: Select all

vi
Locked