home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases.oracle
- Path: sparky!uunet!cs.utexas.edu!usc!sdd.hp.com!elroy.jpl.nasa.gov!ames!daffodil!opium.cs.odu.edu!aiko
- From: aiko@opium.cs.odu.edu (John K Hayes)
- Subject: Re: Question about OPS$LOGIN and Oracle Passwords
- Message-ID: <1992Dec16.170432.14172@cs.odu.edu>
- Sender: news@cs.odu.edu (News File Owner)
- Nntp-Posting-Host: opium.cs.odu.edu
- Organization: Old Dominion University, Norfolk, Va
- References: <1992Dec14.200952.22697@netcom.com>
- Date: Wed, 16 Dec 1992 17:04:32 GMT
- Lines: 45
-
- 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?
-
- I believe what oracle does with the autologin feature is just use the current
- user's operating system userid to come up with the ops$user account, then
- automatically log into that account using whatever password you gave it,
- i.e. - bogus. It does not have anything to do with the operating system
- account password. You can't keep the two passwords the same, since your
- oracle passwords probably never change but your operating system passwords
- do change. You would have to keep the two in synch every time one changes.
- It's not really necessary anyway.
-
- Oracle *does* use the password you assigned in the grant, it just provides
- it automatically. You can log into someone else's oracle account by just
- giving that password if you know it. So, yes, someone could do this:
-
- connect ops$dbauser/bogus
-
- if the dba account is set up for autologin with a 'bogus' password.
- Probably not such a good idea.
-
- What I do is make all accounts autologin, but assign a different password
- for each one and the passwords never change. No one ever needs to know
- what their password is, and no one can log into anyone else's account
- since they don't know what the oracle password is (unless, of course, they
- know the person's operating system password and log into that).
-
- john
- --
- ---{john hayes} OLDOMINISITY; Norfolk, Virginia USA
- internet: aiko@cs.odu.edu
-