unix question continue...

2001-08-01 Thread Sinardy

Hi all,

But they other group will unable to read.
Like for example in DOS we can make our *.bat file to *.exe
changing the ascii (readable) to binary file.
Is this possible?

thank you

-Original Message-
Sent: Wednesday, 1 August 2001 12:25 PM
To: Multiple recipients of list ORACLE-L


well u can use unix permissions,

chmod 000 filename.

then only the owner can change it back, but then no one can read it
either. :)

joe
Sinardy wrote:
 
 Hi all,
 
 How make unix script and Oracle sql script not readable or chnageable,
 something like compile it into executable format
 
 Regards,
 
 Sinardy
 
 --
 Please see the official ORACLE-L FAQ: http://www.orafaq.com
 --
 Author: Sinardy
   INET: [EMAIL PROTECTED]
 
 Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
 San Diego, California-- Public Internet access / Mailing Lists
 
 To REMOVE yourself from this mailing list, send an E-Mail message
 to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
 the message BODY, include a line containing: UNSUB ORACLE-L
 (or the name of mailing list you want to be removed from).  You may
 also send the HELP command for other information (like subscribing)

-- 
Joe Testa  
Performing Remote DBA Services, need some backup DBA support?
For Sale: Oracle-dba.com domain, its not going cheap but feel free to
ask :)
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Joe Testa
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Sinardy
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Re: unix question continue...

2001-08-01 Thread Stefan Jahnke

Sinardy schrieb:
 
 Hi all,
 
 But they other group will unable to read.
 Like for example in DOS we can make our *.bat file to *.exe
 changing the ascii (readable) to binary file.
 Is this possible?
 
 thank you
 
 -Original Message-
 Sent: Wednesday, 1 August 2001 12:25 PM
 To: Multiple recipients of list ORACLE-L
 
 well u can use unix permissions,
 
 chmod 000 filename.
 
 then only the owner can change it back, but then no one can read it
 either. :)
 
 joe
 Sinardy wrote:
 
  Hi all,
 
  How make unix script and Oracle sql script not readable or chnageable,
  something like compile it into executable format
 
  Regards,
 
  Sinardy
 

Hi,

assuming that you created the file as user oracle, you can give just
oracle the permission to read and execute the script (rx). A file
containing a shell script has to be readable by the user that executes
it. Only x doesn't work. If that doesn't do it for you, there are other
options: 
You could replace your shell script with a perl script (there is a
converter that converts awk and sed to perl). If your shell script uses
alot of unix tools, you can convert it by hand to perl's system and exec
commands. Might be alot of work, though. The final option is to use C
(system()) instead of shell scripts. But to convert shell scripts into C
is more than contra-productive ;)
By the way, what is the reason for not letting others with the correct
privileges reading the scripts ? 

 
| Regards,   |
| Stefan Jahnke  |
| @:D2 Vodafone, Abt.: FBOM  |
 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stefan Jahnke
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).