home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!agate!dog.ee.lbl.gov!news!nosc!suned1!ipxed5!lev
- From: lev@ipxed5.nswses.navy.mil (Lloyd E Vancil)
- Newsgroups: comp.databases.oracle
- Subject: Re: Question about OPS$LOGIN and Oracle Passwords
- Message-ID: <24727@suned1.Nswses.Navy.MIL>
- Date: 16 Dec 92 22:37:46 GMT
- References: <1992Dec14.200952.22697@netcom.com>
- Sender: news@suned1.nswses.navy.MIL
- Organization: NSWSES, Port Hueneme, CA
- Lines: 73
-
- In article <1992Dec14.200952.22697@netcom.com> sjs@netcom.com (Stephen Schow) writes:
- >We routinely use the OPS$LOGIN feature of Oracle for all of our users. This
- >way they don't have to worry about anything once they are logged onto the
- >UNIX machine. They just type program / to run it with their UNIX login info.
- >
- >Question:
- >
- >When we create a new user as follows:
- >
- > grant connect to ops$user identified by bogus;
- >
- >and we actually use the word 'bogus' as the oracle password.
- >
- >Does this mean that user ops$user could login to Oracle with either
- >the /, which would use his UNIX login info, or with 'bogus' as the
- >password?
-
- IN UNIX (sunos4.12) the conventions
- sqlplus /
- sqlplus OPS$user/bogus
-
-
- will both work
-
-
- >Could a user go into sql*plus with any convienient name and type
- >
- > connect ops$user/bogus
- >
- >to get into that user's oracle accoun
-
-
- Emphatically YES
-
-
- This is a known security hole in the OPS$ user under oracle 6..
- I am not aware of the fix if any in trusted oracle or in
- oracle7.
-
- Not only is it a bad Idea to use the OPS$user/bogus scheme
- but it is also bad to use the OPS$user/(Unixpassword) scheme
- as that will actually make a unix password violation more
- likely as now the user and the dba know the password of the
- OPS$ oracle user.
-
- Since the OPS$ password need only be used once, in the
- grant command, the dba should be free to use any valid
- password, as long as it follows 2 conventions
- 1. the dba should be THE ONLY PERSON TO KNOW IT.
- 2. each one is unique (within reason here folks)
-
- I use the following method.
-
- a. locate webster's latest.
- b. drop on desk to open book
- c. close eyes and point to page
- d. pick closest word
- e. break word somwhere with _DD_
- where DD is number of day.
- f. issue grant command to create new user
- g. close webster and forget word.
-
- Funk and Wagnels will work as well.
-
- If I need access to a users account as that user I can always
- do another grant to change his pw or since I have su status
- become him long enought to do the job.
-
-
-
- --
- |suned1!lev@elroy.JPL.Nasa.Gov|lev@suned1.nswses.navy.mil|sun!suntzu!suned1!lev|
- |S.T.A.R.S. The revolution has begun!| My Opinions are Mine mine mine hahahah!|
-