Return-Path: <oracle-l-bounce@freelists.org>
X-Original-To: oracle-l@orafaq.com
Delivered-To: oracle-l@orafaq.com
Received: from puck1183.startdedicated.com (localhost [127.0.0.1])
 by puck1183.startdedicated.com (Postfix) with ESMTP id D4FC01961319
 for <oracle-l@orafaq.com>; Thu,  7 Jul 2016 02:56:09 +0200 (CEST)
Received: from turing.freelists.org (turing.freelists.org [206.53.239.180])
 by puck1183.startdedicated.com (Postfix) with ESMTPS
 for <oracle-l@orafaq.com>; Thu,  7 Jul 2016 02:56:09 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 9CDF024C2D;
 Wed,  6 Jul 2016 20:56:08 -0400 (EDT)
X-Virus-Scanned: Debian amavisd-new at turing.freelists.org
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id CFTZ6rd8fKKa; Wed,  6 Jul 2016 20:56:08 -0400 (EDT)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id BC8CE24C4B;
 Wed,  6 Jul 2016 20:55:55 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 06 Jul 2016 20:54:33 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id BD66F24BF6
 for <oracle-l@freelists.org>; Wed,  6 Jul 2016 20:54:33 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id aqYq-1tzIv5D for <oracle-l@freelists.org>;
 Wed,  6 Jul 2016 20:54:33 -0400 (EDT)
Received: from mail-io0-f176.google.com (mail-io0-f176.google.com [209.85.223.176])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 973E224BD9
 for <oracle-l@freelists.org>; Wed,  6 Jul 2016 20:54:33 -0400 (EDT)
Received: by mail-io0-f176.google.com with SMTP id f30so10126351ioj.2
        for <oracle-l@freelists.org>; Wed, 06 Jul 2016 17:54:33 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
         :content-transfer-encoding:message-id:references:to;
        bh=FGKQ7whf5dfNL53V/Hxqgs+SUUuoBU4h2MqJpm+Ghm8=;
        b=YtMSWPazTStBAtLo2LSpofhPUGmu9nnXMOLRSqGvhOvERsrMSBTtPUWeoEsJFTqmXn
         TlYPPHpkd9PKbov2R9rcKol9+PA0Bq7O39BLfDdXi4Nxy0ipI5rpeVWHKVOFeu53yHm3
         Olt+MfAtDMurTuicK1pWO+L3Z6hXQcoDVCwXGokskq7ftSU3jUCmQtpyHJ1b4GkEV1VX
         QM8zPMy9OqMEPCnQM62vGey9WE0XX2KIu0edKoe6LWMPCRYxdUtYlQNgQgCH53rBFlnx
         dZLRd/1rY4d7AlIe6QS17ZFMOlSfwOHKkPgnDIzWtjahUKiEGij8qil7vzthJ0ccy4eM
         YVSw==
X-Gm-Message-State: ALyK8tLIekl+sBfdPo2+XijtaV+mZH/wzmUIkd4KV9pHqGmJux444ogxVgNrs8wL9xDvZA==
X-Received: by 10.107.15.214 with SMTP id 83mr7702384iop.131.1467852872949;
        Wed, 06 Jul 2016 17:54:32 -0700 (PDT)
Received: from [10.38.38.72] ([166.170.221.83])
        by smtp.gmail.com with ESMTPSA id p63sm1404247itg.9.2016.07.06.17.54.31
        (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
        Wed, 06 Jul 2016 17:54:32 -0700 (PDT)
Content-Type: text/plain;
 charset=us-ascii
Mime-Version: 1.0 (1.0)
Subject: Re: Passwords in DBA_USERS (Oracle 12c)
From: Ryan January <rjanuary@gmail.com>
In-Reply-To: <577DA534.2090905@gmail.com>
Date: Wed, 6 Jul 2016 19:54:31 -0500
Cc: Ricardo Arnoud <ricardoskn@gmail.com>,
 oracle-l <oracle-l@freelists.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <35D0FDF1-E93C-42F8-98FA-299DC4F03FC4@gmail.com>
References: <577D96E8.60502@gmail.com> <CAC540oiLsoSZ+26yqv0ecmFq8P__4+NbGQUPjQgLqGqjZPkEGQ@mail.gmail.com> <577DA534.2090905@gmail.com>
To: gogala.mladen@gmail.com
X-archive-position: 65461
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: rjanuary@gmail.com
Precedence: normal
Reply-To: rjanuary@gmail.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:mark.bobak@proquest.com>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l


As far as I'm aware, it was done to support case sensitive passwords. =20
If it wasn't officially documented by Oracle, it's been unofficially documen=
ted for years by the commit it at large.

> On Jul 6, 2016, at 7:41 PM, Mladen Gogala <gogala.mladen@gmail.com> wrote:=

>=20
>> On 07/06/2016 07:50 PM, Ricardo Arnoud wrote:
>> Try the following for 12c:
>>=20
>> select 'ALTER USER '||name||' identified by values '||CHR(39)||spare4||';=
'||password||CHR(39)||';'
>> from user$ where name in ('SCOTT');
>=20
> Hi Ricardo,
> I know that SPARE4 is SHA version of the password hash, but my point was m=
ore to clarify why was it done, and even more importantly, why wasn't such a=
n important change documented? It is also possible to extract the hash using=
 DBMS_METADATA.GET_DDL. I have solved my original problem, that's not the po=
int.
>=20
> Regards
>=20
>=20
> --=20
> Mladen Gogala
> Oracle DBA
> Tel: (347) 321-1217
>=20
> --
> http://www.freelists.org/webpage/oracle-l
>=20
>=20
--
http://www.freelists.org/webpage/oracle-l


