How to disable that an user execute any command

Kirk Strauser kirk at strauser.com
Tue Jul 8 15:00:54 UTC 2008


On Tuesday 08 July 2008, DSA - JCR wrote:

> but I think that if he/she want to make CTRL-C to the shell task, he can
> stop the task and then enter in the system and look whatever he wants
> (for example, how the things are done).

Use "sudo" to allow non-root users to run that script as root.  If they hit 
^C, they get dropped right back to their own account.

> I want this because there is intelectual propierty behind this.

Don't put trade secrets in shell scripts.
-- 
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080708/34971649/attachment.pgp


More information about the freebsd-questions mailing list