home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!nott!cunews!revcan!micor!vicuna!frampton
- From: Steve Frampton <frampton@vicuna.ocunix.on.ca>
- Newsgroups: comp.databases.oracle
- Subject: Re: How to disable '$' DCL shell?
- Keywords: vax vms oracle sqlplus
- Message-ID: <B7DwTB3w165w@vicuna.ocunix.on.ca>
- Date: Sat, 07 Nov 92 21:02:10 EST
- References: <HVXRTB1w165w@vicuna.ocunix.on.ca>
- Reply-To: frampton@vicuna.ocunix.on.ca
- Followup-To: comp.databases.oracle
- Distribution: world
- Organization: Vicuna Systems, Kingston, ON (613) 547-5066
- Lines: 50
- Content-Type: text/plain; charset=us-ascii
-
- Steve Frampton <frampton@vicuna.ocunix.on.ca> wrote:
-
- > Hi everyone:
- >
- > I would like to find out how to disable the '$' shell to DCL from SQLPLUS
- > for the comp. services dept. @ my place of employment. This seems to be
- > somewhat of a security hole and if there is a simple way to disable users
- > from accessing it how is it done?
-
- As promised, I am following up here with a summary. Special thanks to
- all who responded:
-
- sinha@bms.com, rsingi@penuts.enet.dec.com, rwk@netcom.com,
- hatzinger_m@bmwf1f.bmwf.gv.at, jbennett@netcom.com,
- andy@homebase.vistachrome.com
-
- ...and anyone else who happened to respond just during or after
- I put together this followup.
-
- Although the above people could have told me to RTFM (someone told me
- that the information was in Appendix E of the SQL*Plus manual -- but
- gave me the pertinent information anyways), they were all very helpful,
- telling me basically to add an entry to the 'PRODUCT_USER_PROFILE'
- table to disable any required commands for unauthorized users.
-
- The trick is to log into ORACLE as system and insert the required info
- into the table similar to:
-
- insert into PRODUCT_USER_PROFILE
- (PRODUCT,USERID,ATTRIBUTE,CHAR_VALUE)
- values ('SQL*Plus','OPS%','HOST','DISABLED');
-
- 'SQL*Plus' must be entered in exactly as shown, and the userid as well as
- the attribute (command) must be entered in uppercase. The userid may be a
- specific userid, or wildcards can be used as well.
-
- To re-enable a command simply delete the row from the database.
-
- It was also suggested that I should make sure other users do not have
- access to the PRODUCT_USER_PROFILE table or they would be able to simply
- circumvent any changes made!
-
- Thanks again for all the timely and helpful responses!
-
- +-----------------------------------------------+--------------------+
- | Steve Frampton - frampton@vicuna.ocunix.on.ca | Steve Frampton |
- | I collect postcards! If you send me one from | 501-A Princess St. |
- | your area, I'll send one in return. Send to >| Kingston, Ontario |
- | (Don't forget both email and mailing address) | CANADA K7L 1C3 |
- +-----------------------------------------------+--------------------+
-