Editing the hosts file

Permissions, domain/LDAP, power, security, notification and more.
Locked
User avatar
UpDaTe
Posts: 15
Joined: 19 May 2022, 20:43

Editing the hosts file

Post by UpDaTe »

Hi

I need to edit the hosts file in my TNAS F4-423 (TOS 5.0.176)
I am not strong in Linux, but I found this file and even copied it for backup
But I can't edit it, those commands that Google suggests do not work in this operating system

How can I edit the /etc/hosts file?

Thanks
User avatar
UpDaTe
Posts: 15
Joined: 19 May 2022, 20:43

Re: Editing the hosts file

Post by UpDaTe »

for more info

sudo -i
sudo: unknown user: root
sudo: unable to initialize policy plugin
User avatar
UpDaTe
Posts: 15
Joined: 19 May 2022, 20:43

Re: Editing the hosts file

Post by UpDaTe »

looks like i figured it out
No need to use sudo as the sudoers file settings are configured to allow all members of the admin group to run commands
User avatar
UpDaTe
Posts: 15
Joined: 19 May 2022, 20:43

Re: Editing the hosts file

Post by UpDaTe »

Can you please tell me if the qbittorrent application uses the /etc/hosts file?
Locked