My OS is Solaris 2.5.1.
I wrote a shell script. Now I hope this shell script can be executed by
users in same group but can not be read and writen by them, so I set the
mode of this script to be 110 (__x__x___). But no one including me can
execute it, the error message is :"Permission deny". After I change its mode
to 550, it can be executed.
Does anyone know how to do this.
Thanks in advance.
Regards
Peer
Speaking only for myself,
Joe Durusau
Joe Durusau wrote in message <37CFB38D...@delphi.com>...
Perhaps you can use shc (Shell [script] Compiler).
Shc converts a shell script to a binary so that the shell script content
is not readable.
ftp://ftp.fi.upm.es/pub/facultad/departamentos/datsi/frosal/shc-3.2.tgz
shc-3.2> tail -12 shc.README
Archived at: ftp://hpux.csc.liv.ac.uk/hpux/Languages/shc-2.4a
Archived by: st...@csc.liv.ac.uk
Author: Francisco Rosales Garcia
--------------------------------------------------------------------
Francisco Rosales García <fro...@fi.upm.es> TEL: +341 336 73 80
http://www.datsi.fi.upm.es/~frosal FAX: +34 1 336 73 73
Departamento de Arquitectura y Tecnología de Sistemas Informáticos
Facultad de Informática. Universidad Politécnica de Madrid. España
--------------------------------------------------------------------
P.S. I used Lyco to find the archive shc-3.2.tgz, but its readme
said shc-2.4a. Don't known why. Don't ask me.