Unable to edit /etc/hosts "permission denied"

Hey guy’s im working on the Modul “Attacking Web App with Ffuf” im on the point where I have to edit the /etc/hosts file, but don’t have the permission to do it.

And without to adding the local host name I can’t continue, any idea?
(I am on the lesson “Domain Fuzzing (Filtering Results)”.)

Note 1: Don’t forget to add “admin.academy.htb” to “/etc/hosts”.

Check the desktop for root creds. Edit as root.
cat Desktop/my_credentials.txt I think!

1 Like

god bless u. sir!

1 Like