2

Was wondering whether in a Nix environment I can change the content of the host file, mainly to prevent one or two site being accessed from that particular user, and only for his account (not with admin privileges).

I though about the rc.local file, but I'm not sure this could work.

Is there any other local config file I can use?

Thanks Andrea

2

HOSTALIASES might meet your requirements.

The question is related to: Can I create a user-specific hosts file to complement /etc/hosts?

Here is a resource where HOSTALIASES is explained: http://blog.tremily.us/posts/HOSTALIASES/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.