RE: Locking the SYS account.

Tom,

My point was if that we were allowed to lock the sys account and it was
truly locked - ie we were not allowed to connect to it like other
accounts when they were locked - it would be a bad thing.

As it is now, Oracle allowing the account to be locked and then ignored
when we connect "as sysdba" to me is a contradiction in terms.  Why even
report that the account is "locked"?  We can't connect to sys unless we
connect "as sysdba" anyway.

To me, locked is locked.  Can't connect to it.

So Denham's quest to lock the sys account for auditors purposes (I
forget why he really needed to do it) is a fools errand.  A DBA (or
someone in the DBA group) can always connect to the database.

A better solution would be to audit all connections to track who is
connecting.

Tom

-----Original Message-----
From: Terrian, Tom (Contractor) (J6D) [mailto:Tom.Terrian.ctr@xxxxxxx] 
Sent: Thursday, January 04, 2007 9:00 AM
To: Terrian, Tom (Contractor) (J6D); Mercadante, Thomas F (LABOR);
rgoulet@xxxxxxxxxx; oracle-l@xxxxxxxxxxxxx
Subject: RE: Locking the SYS account.

Thomas, are you on Windows?

-----Original Message-----
From: Terrian, Tom (Contractor) (J6D) 
Sent: Wednesday, January 03, 2007 4:41 PM
To: 'Mercadante, Thomas F (LABOR)'; rgoulet@xxxxxxxxxx;
oracle-l@xxxxxxxxxxxxx
Subject: RE: Locking the SYS account.

Perhaps this is a difference between UNIX and Windows?  I am on HP-UX
and there is no problem with locking and expiring SYS.  I can still do a
sqlplus /nolog and connect / as sysdba.......no problems.  I assume you
are on Windows and therefore locking and expiring SYS creates a problem
for you? 



-----Original Message-----
From: Mercadante, Thomas F (LABOR)
[mailto:Thomas.Mercadante@xxxxxxxxxxxxxxxxx] 
Sent: Wednesday, January 03, 2007 10:57 AM
To: Terrian, Tom (Contractor) (J6D); rgoulet@xxxxxxxxxx;
oracle-l@xxxxxxxxxxxxx
Subject: RE: Locking the SYS account.

It would be bad if it was truly locked and we were not able to connect
to do things like shut it down.  Or recover it from a crash.  Or any of
the other dozen things you can only do while connected as SYS.

Duh!

-----Original Message-----
From: Terrian, Tom (Contractor) (J6D) [mailto:Tom.Terrian.ctr@xxxxxxx] 
Sent: Wednesday, January 03, 2007 10:31 AM
To: Mercadante, Thomas F (LABOR); rgoulet@xxxxxxxxxx;
oracle-l@xxxxxxxxxxxxx
Subject: RE: Locking the SYS account.

Ok, I will bite, how is this a bad thing?  We have locked and expired
the SYS account on all of our databases for years now.  How is this bad?

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Mercadante, Thomas F
(LABOR)
Sent: Wednesday, January 03, 2007 10:12 AM
To: rgoulet@xxxxxxxxxx; oracle-l@xxxxxxxxxxxxx
Subject: RE: Locking the SYS account.

For good reason I think.  Being able to lock the SYS account would be a
very bad thing.


--------------------------------------------------------
This transmission may contain confidential, proprietary, or privileged
information which is intended solely for use by the individual or entity
to whom it is addressed.  If you are not the intended recipient, you are
hereby notified that any disclosure, dissemination, copying or
distribution of this transmission or its attachments is strictly
prohibited.  In addition, unauthorized access to this transmission may
violate federal or State law, including the Electronic Communications
Privacy Act of 1985.  If you have received this transmission in error,
please notify the sender immediately by return e-mail and delete the
transmission and its attachments.


-----Original Message-----

From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Richard J. Goulet
Sent: Wednesday, January 03, 2007 10:02 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: RE: Locking the SYS account.

 
If one does the RTFM thing one will find that SYS is immune to any and
all restrictions by default.  Therefore things like restricting idle
time via a profile don't work, nor does locking the account or expiring
the password.  Granted it's buried & not easy to find, but it's been
that way for a very LONG time.

 
Dick Goulet, Senior Oracle DBA
45 Bartlett St  Marlborough, Ma 01752, USA
Tel.: 508.573.1978 |Fax:  508.229.2019 | Cell:508.742.5795 
RGoulet@xxxxxxxxxx
: POWERING TRANSFORMATION 

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Andrey Kriushin
Sent: Wednesday, January 03, 2007 7:12 AM
To: DEVA@xxxxxxxx
Cc: oracle-l@xxxxxxxxxxxxx
Subject: Re: Locking the SYS account.

Denham Eva wrote:  
> What if any are the implications of locking the SYS account?
Kicking your client out of the business perhaps?

--Andrey


--
http://www.freelists.org/webpage/oracle-l


--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l





--
http://www.freelists.org/webpage/oracle-l


Other related posts: