Announcement

Collapse
No announcement yet.

Block URLs in browser? [SOLVED]

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: Block URLs in browser? [SOLVED]

    That's pretty close to what I suggested, except that by having a script called in /etc/bash.bashrc which identifies the user and copies the correct hosts.xblock file to hosts, and perhaps as a default copies hosts.block to hosts, then the only remaining thing to do would be to put in YOUR ~/.bashrc file the command to copy hosts.noblock to hosts. This to specifically avoid putting anything into the noarist .bashrc file, which he could edit.

    Another option is to change the permissions of the noarist ~/.bashrc file so that only root has edit permission but all groups and world has execute permission. For noarist this might include adding /home/noarist/.bashrc in the sudouser file as executable by noarist.
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment

    Working...
    X