Hi all,
How to set permission to a file in /bin so users can't view (using pico), execute only.
I've tried this :
chmod 711 filename
so it become :
-rwx--x--x 1 root wheel 570 Jan 28 15:45 filename
yes the users can't view (using pico) the file but also can't execute from their /home/user directory, it said :
/bin/filename: Permission denied.
So i don't want users to view, edit, etc, but only run it from their directory.
Anyone can help me?
Thank you
How to set permission to a file in /bin so users can't view (using pico), execute only.
I've tried this :
chmod 711 filename
so it become :
-rwx--x--x 1 root wheel 570 Jan 28 15:45 filename
yes the users can't view (using pico) the file but also can't execute from their /home/user directory, it said :
/bin/filename: Permission denied.
So i don't want users to view, edit, etc, but only run it from their directory.
Anyone can help me?
Thank you
