Search results

  1. S

    Enable execution by user as root and disabling write to user

    The user named usr needs to execute program /home/usr/prog as root. But, nobody but root must be able to delete/modify program /home/usr/prog. How to do it? My attemption was # chown root /home/usr/prog # chmod 0 /home/usr/prog # chmod u+x /home/usr/prog At end of the /etc/sudoers file I...