Page 1 of 1

Unable to edit text file eg. vi vim nano

Posted: 26 Mar 2023, 00:39
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?

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

Posted: 26 Mar 2023, 00:50
by outkastm
sudo is not needed anymore on TOS5, just type

Code: Select all

vi