With the help of the sys user
Hi, when I do the work s/n I record in one of the following ways:
I created my own id admin for each schema that I use to do my business on the day the day using the developer sql, such that see a/update tables/index, growing tablespaces, user admin etc.
On the rare occasion I need the privilege sysdba when I connect via the operating system using sqlplus "virtue sysdba".
What is the standard? When I need sysdba is it better to connect as user sys or give my admin user rights sysdba?
Thank you very much
Adam
When you open a session as sysdba, you implicitly SYS.
SQL * more: Production of the version 12.1.0.1.0 on Mon Jan 12 14:56:07 2015
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Last successful login time: Friday, January 9, 2015 10:25:33 + 03:00
Connected to:
Database Oracle 12 c Enterprise Edition Release 12.1.0.1.0 - 64 bit Production
With the partitioning, OLAP, advanced analytics and Real Application Testing opt
ions
SQL > conn / as sysdba
Connected.
SQL > grant sysdba to HR;
Grant succeeded.
SQL > conn h/h as sysdba
Connected.
SQL > user sho
The USER is "SYS".
SQL >
You rarely need sysdba - usually it's for patches of the database and upgrades you make.
Tags: Database
Similar Questions
-
11g OEM with the sys user connection error.
I have two database in my local host. a parameter is created with dbca and another is created manually.
I am not able to connect ONLY with "sys" user in OEM, 11g, but I can connect to sqlplus with the same user (only in the manually created database).You can try again by recreating the file password... just in case...
-
Hello
I have change the password for the SYS user
export ORACLE_SID = orcl
echo $ORACLE_SID
ORCL
but when I try to connect me with @sid I get this error:sqlplus /nolog connect / as sysdba alter user sys indentified by orcl_pwd; sqlplus sys/orcl_pwd as sysdba SQL*Plus: Release 10.2.0.5.0 - Production on Mon Oct 22 17:14:07 2012 Copyright (c) 1982, 2010, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
Do you have any idea how I can change the password for the SYS user?sqlplus sys/orcl_pwd@orcl as sysdba SQL*Plus: Release 10.2.0.5.0 - Production on Mon Oct 22 17:16:09 2012 Copyright (c) 1982, 2010, Oracle. All Rights Reserved. ERROR: ORA-01031: insufficient privileges Enter user-name:
his recommended Oracle when you go to change password use SYS
orapwd file=
password= entries=5 -
package not seen under the sys user!
Hello;
I discovered under the sys user packages;
but not our package seen under sys; I create with the sys user
any idea
regrads
siyavusThis is not a package, it is a procedure. Go and check the procedures instead of packages.
The user who you are trying to check, SYS again?
Ogan
-
Tracking change the sys user actions
I use Oracle 10.2.0.3
Is there anyway I can follow change the user account unlock or take into account the lock instructions?
I need to update the table with the username when account unlocking or locking operations is performed.
I know audit_sys_operations auditera sys operations and write them to a file but it will not help my problem since I want to update a table when the unlock operation account is made.
I can't create trigger on table $ USER because it is a table of the sys user.
Is there another way to track and update the table?It looks like you want a trigger on the event alter at the database level. See the first line of [table 9-4 | http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_triggers.htm#CHDGIJDB] which indicates what attributes are available inside a trigger on the ALTER event. From there, take a look at [table 9-2 | http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_triggers.htm#CHDCFDJG] which describes each of the available attributes.
Since you are interested in changes to the users you probably want to test only the attribute ora_dict_obj_type = 'USER '.
Further you can must use the attribute ora_sql_txt function which is available according to table 9-2 to inspec the actual SQL that was used to change the user data dictionary.
You probably want something like this (note that this is not tested):
CREATE or replace TRIGGER ALTER_USER_TRG BEFORE ALTER ON DATABASE l_stmt varchar2(2000); l_sql_text ora_name_list_t; n number; l_action VARCHAR2(50); BEGIN if (ora_dict_obj_type = 'USER') THEN n := ora_sql_txt(l_sql_text); for i in 1..n loop l_stmt := l_stmt || l_sql_text(i); END LOOP; if regexp_like(l_stmt, '(un)?lock', 'i') then null; end if; end if; END;
-
Two thunderbird profile both at the same time with the same user account
Dear Sir
I would like to use Thunderbird two at a time for two different profiles with the same user accounts.
I use linux OS.
I thought using the:- Thunderbird Pei Profile1 &
- Thunderbird Pei Profil2 &
But at the launch of the second order, that nothing is happening.
Appears in the foreground thundirbird already started.If possible use this configuration now or in the future nex?
General rule, thunderbird runs only a single instance of a profile.
However, there are two options, you can try.
You can use an addon esily switch profiles:There's more help here:
He said: "several instances is expected for debugging, so use it at your own risk.
One method would be to use: start > run
"C:\Program Files\Mozilla Thunderbird\thunderbird.exe"-no-remote Pei profilenameThere is a space before '-no '
and also before '-P'
followed by a space and the name of the profileYou can create a shortcut icon to run each separate profile.
-
Cannot connect the sys user remotely
Hello
Oracle Version: 11.2.0.4
OS: Win Server 2008 R2
Despite the creation of password for the file and modify the init.ora for exclusive use.
Remote_login_passwordfile string EXCLUSIVE
I am still unable to connect the user sys.
869855 wrote:
Sincere apologies, I forgot to share the error
SQL > conn nwbackup@ucmdb as sysdba
Enter the password:
ERROR:
ORA-01017: name of user and password invalid. connection refused
P.S: Connectivity works very well with other users.
So how about you change the password for the SYS user and try to connect again?
Aman...
-
I stopped at the end of the installation of Flash Player for Internet Explorer with the message "User lacks sufficient privileges to install" despite having Flash Player installed because I bought my computer. My internet Explorer browser will now display the videos saying that I have the latest version of Flash Player. Videos had previously shown fine on Int.Explorer over 5 years and see the normally on Flash Player using Google Chrome.
Hi James Goldberg,.
I recommend you install it using your administrator account on your system or right-click on the configuration file and choose "Run as Administrator".
Hope that helps, please let me know if you face any problem.
Kind regards
Rahul Tyagi
-
The SYS user connects to the database level, is this correct?
My senior colleague gave me following information about the user sys. I want to know, - is this correct?
Since the SYS user connects to the database level, therefore, on the session active user SYS, to kill only the current statement is canceled. The database session does not disconnect. Instead, he continues to run the remaining in the script file instructions where we run a script file that contains a large number of SQL statements.
ElyaIf the Oracle session was killed and the customer continued to successfully submit the following commands to the database, a new session was automatically created to replace the killed session. A feature called Of Application Transparent failover which allows the customer to switch to a session of a RAC server to another RAC server, the initial session fails (for example, RAC Server breaks down).
TAF is part of the response to the so-called "+ the Evil Twins +"-errors and crashes. The rest of the answer are FAN (Fast Application Notification) and CLF (resumption of fast connection). This set of features about the errors and crashes - and allows an application 'seamless' continue even when his Oracle Server session fails.
See the white paper Oracle on failover of applications with Oracle Database 11 g for the basic details.
-
The sys user cannot connect to DataBase10g through ODBC
Hi guys,.
make the connection ODBC to Oracle 10 g 2 with sys user to xp administrative tools (ODBC data sources), but it gives me error.
ORA - 01017:invalid name of user and password. connection refused.
with the same / user Password, I connect several times to sql * more.
Please guide me why its happening.
Note = ODBC connection with any other user HR/Scott have no problem.Try again with
SYS/password AS SYSDBA
by identifying a "connection of the ODBC Oracle driver"
-
I want to stop with the 'TEST' user base
Hi all
I use Oracle 11.1.0.6 / Windows XP.
I want to stop with the 'TEST' user base, that I created in the database.
What role/privileges, I need to assign to the user 'TEST' for the stop of the database with this user.
Thanks in advance.
AnilHello..
Satish has already provived the link to the oracle documentation. Go trough it.
The same doc: -.
>
When you connect with SYSDBA or SYSOPER privileges, connect you with a default schema, not with the schema that is generally associated with your username. This scheme is SYSDBA SYS; for SYSOPER schema is PUBLIC.
Connection with administrator privileges: exampleThis example shows that a user is assigned a different schema (SYS) when connecting with the SYSDBA system privilege. Assume that the sample oe user has been granted the SYSDBA system privilege and issued the following instructions:
CONNECT oe/oe
CREATE TABLE admin_test (name VARCHAR2 (20));Later, oe user makes these statements:
CONNECT AS SYSDBA oe/oe
SELECT * from admin_test;OE user now receives the following error message:
ORA-00942: table or view does not exist
After having connected SYSDBA, oe user references the SYS schema, but the table has been created in the oe schema
>
Anand
-
How can I share 'My images' with the other user accounts on my computer?
How can I share 'My images' with the other user accounts on my computer?
where are the 'experts' on these forums adverstised? I can't get an answer to a simple question. Does anyone know how to do this?
Here we are, ok, I'm not an expert, but try this:
Right click on 'My images' > share > specific people... > select that you want to share this folder with.
...
After that, try to connect by using a different account. If you will not be able to open C:\Users\"FirstUser"\Pictures, you try to extend the network in the left pane of Windows Explorer > expand ComputerName > expand users > expand "FirstUser" > photos
-
change password for the sys user
How can I change the password for the sys user?... I want to change the password so that no one else besides me can use the sysdba accountchange or add a parameter in the file sqlnet.ora None
SQLNET.authentication_services = (NONE)
wait for the right password that no one can access it;
Try this
then check;
SQL > SELECT * FROM V$ PWFILE_USERS;
-
Not able to connect to oracle 9.2 to the sys user assistance
Hi all
I use oracle 9.2 on RHEL4. DB is in open mode when I try ot through the sys user connection, is asked to start the instance. But it is already in the opening mode...
Alert log file...-bash-3.00$ sqlplus /nolog SQL*Plus: Release 9.2.0.4.0 - Production on Mon Jul 27 10:16:43 2009 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. SQL> conn sys/password as sysdba Connected to an idle instance. SQL>
Processes that are already runningSuccessfully onlined Undo Tablespace 1. Sat Jul 25 16:30:44 2009 SMON: enabling tx recovery Sat Jul 25 16:30:44 2009 Database Characterset is WE8ISO8859P1 replication_dependency_tracking turned off (no async multimaster replication fou nd) Completed: ALTER DATABASE OPEN Sun Jul 26 20:49:46 2009 Thread 1 advanced to log sequence 11 Current log# 2 seq# 11 mem# 0: /u01/app/oracle/oradata/ic/redo02.log "alert_ic.log" 305L, 12951C 305,3 Bot
Please suggest me how to overcome this problem...-bash-3.00$ ps -ef|grep ora oracle 5939 1 0 Jul24 ? 00:00:00 dbus-daemon-1 --fork --print-pid 8 --print-address 6 --session oracle 6120 1 0 Jul24 ? 00:00:00 /u01/app/oracle/product/9.2.0/bi n/tnslsnr LISTENER -inherit oracle 7188 1 0 Jul24 ? 00:00:00 /usr/libexec/gconfd-2 32 oracle 8134 1 0 Jul25 ? 00:00:00 /usr/bin/gnome-keyring-daemon oracle 26315 1 0 Jul25 ? 00:00:00 ora_pmon_ic oracle 26317 1 0 Jul25 ? 00:00:00 ora_dbw0_ic oracle 26319 1 0 Jul25 ? 00:00:00 ora_lgwr_ic oracle 26321 1 0 Jul25 ? 00:00:04 ora_ckpt_ic oracle 26323 1 0 Jul25 ? 00:00:01 ora_smon_ic oracle 26325 1 0 Jul25 ? 00:00:00 ora_reco_ic oracle 26327 1 0 Jul25 ? 00:00:00 ora_cjq0_ic oracle 26329 1 0 Jul25 ? 00:00:24 ora_qmn0_ic oracle 26331 1 0 Jul25 ? 00:00:00 ora_s000_ic oracle 26333 1 0 Jul25 ? 00:00:00 ora_d000_ic root 27663 27662 0 10:01 ? 00:00:00 login -- oracle oracle 27664 27663 0 10:01 pts/1 00:00:00 -bash oracle 27710 27664 0 10:19 pts/1 00:00:00 ps -ef oracle 27711 27664 0 10:19 pts/1 00:00:00 grep ora -bash-3.00$
You might enter into a different SID.
Please
export ORACLE_SID =
Then try to connect
-
Can Hi anyone please help? I want to subscribe to PhotoshopCC, I decided to download the free trial version first. I downloaded it, but when I open it a few seconds see a sign indicating photoshopcc has stopped working. My cell phone is compatible with the programme but I only 1.80 ghz is this a problem? I saw that you have 2.0 ghz to run the program, but people have told me that it should work on my laptop?
hiughkhk, I assume you are using windows 7 or newer.
Navigate to C:\Program Files\Adobe\Adobe Photoshop CC 2014 - location of the folder in your computer and delete the file named "sniffer" and try to launch the Photoshop CC 2014.
If you are still having the same problem, please provide newspapers in the event viewer for Photoshop.
Please use the link on how to view the event logs in the observer of events below.
http://support.Microsoft.com/kb/308427
Control Panel > system and security > administrative tools > event viewer > expand windows Logs > Application > search for error or red for the failed module.
Thank you
Maybe you are looking for
-
Re: Satellite L350D - cannot install the driver for the webcam
I downloaded the driver for the webcam TWebCamera and the icon will now appear in the Windows Start menu. When I try to launch it I get the message that the application has failed to start because its side-by-side configuration is incorrect. Please s
-
DCR-TRV19 transfer on Windows7
I just upgraded to a Windows 7 computer and cannot do recognize my Sony DCR-TRV19 handycam for video transfer. (I have an i.link cable). I searched the Sony site and found that no driver did not have to do this. Is there a way to address this issue?
-
During a trip overseas (220 volts) can I use my power adapter 608425-002 normally with my HP G72 laptop as I have the right plug adapter?
-
Air 1131AG - cannot access the unit with http
I just bought two 1131AG and am not able to access the unit with Internet Explorer. The two units Gets an IP address from my DHCP server and not to ping requests. Unfortunately, 21, 80, and 443 ports are not open and IPSU Cisco sees not the device ei
-
Problem with the files of the Windows user.
I bought a PC in July and set up a single user (Milt). Later, I decided to change the user name and set up a second user (let's call it SirMilt). Both have administrator privileges. Since I am the only user of this PC he has proved to be a problem. T