Create the local user g 12 DB

Hello

I am trying to create a local test user (DB 12 g Win7 / 64):

SQL > conn sys

SQL > alter session set container = PDBORCL;
Altered session.


SQL > show con_name

CON_NAME
------------------
PDBORCL


SQL > create user test identified by the test.


== > ORA-01109: database is not open.

Select... v_$ services;


0pdborcl2477889254pdborcl0
5db112gr1XDB1684560570db112gr1XDB25.07.134091627695
6db112gr11712327574db112gr125.07.134091627695
1SYS$ BACKGROUND16595921928.06.133062388681
2USERS OF SYS$342705567628.06.133062388681



Sorry, I do not learn and understand the new concept of the current user / local again.


How can I start the PDB and create a local user to manage the normal grant as users of 11 g DB schema?


A big thank you and best regards

Friedhold



Hi Friedhold,

I think the problem is that you connect to the database container rather than to the snap-in data base. You must connect the name of service associated with this snap-in db. Change connection string to test/test@pdborcl

that should be found in your tnsnames file. Or you can use a syntax ezconnect.

sqlplus test/test@//localhost:1521/pdborcl (or something similar)

I posted a similar example on my blog that you can follow from beginning to end that can help explain.

http://dbaharrison.blogspot.co.UK/2013/07/create-simple-user-in-12C-pluggable.html

see you soon,

Harry

Tags: Database

Similar Questions

  • Need a powershell script to create a local user on esx given the esx server list box

    Hello

    I need a powershell script to create a local user on esx in a given list entry of esx servers through a csv spreadsheet. The script should ask me the user name and the password for the user name to be created on the given list of esx servers.

    Thanks in advance!

    Just noticed that there is a lack of vacuum after the - password parameter.

    It should be

    $userName = Read-Host "Username"
    $password = Read-Host "Password" -AsSecureString:$true
    Import-Csv "C:\vmhosts.csv" | %{
         Connect-VIServer -Server $_.Hostname -Credential (Get-Credential)
         New-VMHostAccount  -Id $userName -Password $password -UserAccount:$true -GrantShellAccess:$true -Confirm:$false
         Disconnect-VIServer -Confirm:$false
    }
    

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • Where the local users and groups in Win 7 Home Premium? I don't find it in computer management.

    Where the local users and groups in Win 7 Home Premium?  I don't find it in computer management.

    Elevate your privileges permanently would defy the purpose of UAC and is therefore not available. There are two ways to start a command prompt:

    1. click on the start planet.
    2. type the three letters cmd in the search box.
    3. press on Ctrl + Shift + Enter
    4. click on "run as Administrator".

    or:
    1. create a shortcut on the desktop for cmd.exe.
    2. right click.
    3. click on run as administrator

  • Could not connect to the local user accounts

    We have the following configuration:

    1. the virtual machine.

    Windows Server 2008 R2.

    b. active Directory

    2 physical machine.

    Windows Server 2008 R2.

    b. connection to the Server VMware View 5.0.1

    3. the virtual machine.

    Windows Server 2008 R2.

    b. connection to the Server VMware View 5.0.1

    Machine #2, we have connected successfully with VMware View and on machine #3 we have the following error:

    2012-11-13 17:28:10, 164 DEBUG < MessageFrameWorkDispatch > [ws_winauth] any logged-on user as a local user (domain = XREN1)
    2012-11-13 17:28:10, 165 DEBUG < TP-Processor3 > [VDIContext] ADAM connection failed: com.vmware.vdi.common.winauth.WinAuthCodifiedException: failed authentication: could not connect to the local user accounts
    2012-11-13 17:28:10, 166 DEBUG < TP-Processor3 > [VDIContext] failed connection create ADAM: com.vmware.vdi.adamwrapper.exceptions.ADAMConnectionFailedException: failed authentication: could not connect to the local user accounts
    2012-11-13 17:28:10, 167 INFO < TP-Processor3 > [LoginBean] user all failed to authenticate to view administrator
    2012-11-13 17:28:10, 167 DEBUG < TP-Processor3 > [ViewFlexFactory] com.vmware.vdi.admin.ui.LoginBean.login ms 13

    did you install the second server conection as a Local Administrator?

    a second connection to the Member Server in the domain before you install the software?

    be as a member of the domain using an account with local administrator privileges to be sure area.

  • Is any impact of a change of the password of the local user account on an instance of a content server Cisco TelePresence virtual computer?

    Hello

    I'm looking to see if there is an impact to change the password of the local user account on an instance of a content server Cisco TelePresence virtual machine?

    The software version is v6.2 build 4073.

    Thank you in advance,

    Robert

    I'll assume, you are referring to the administrator account, but it can be applied to any local account which is located on the TCS server itself.  It has no impact to change the password, unless you are using doesn't say account to connect to the server of TCS or web interface, it will not affect the application of TCS as most things such as external storage or clustering rely on domain accounts and not the local server.

  • ACS 5.2 How to set up the local user lockout policy?

    Hi all!

    IM faced with Discover how to set up the local user to the point account lockout policy 5.2 ACS.

    4.2.1 there is the option "failed attempts to go beyond", see link for more details:

    http://www.ciscosystems.com/en/us/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4.2.1/User_Guide/UsrMgt.html#wp273167

    But to the point 5.2 I can't find the option:

    http://www.Cisco.com/en/us/customer/docs/net_mgmt/cisco_secure_access_control_system/5.2/user/guide/acsuserguide.html

    Can somebody spread some light where I configure this?

    BR /Crille

    Just found a bug number indicating it is not supported.

    CSCth12406 Details of bug
    ACS 5 has no option to disable a local account on the unsuccessful attempts
    Symptom:
    ACS 5 doesn't have an option to disable the local account in the internal identity on failed attempts store

    Conditions:
    When ACS 5 is used to only to authenticate users using internal identity store, there is no way to configure a strategy of locking of account for failed attempts.

    Workaround solution:
    Currently there is no work around

  • When I create the domain user, I used option user must change when you first connect, but am unble to get this

    When I create the domain user, I used option user must change at the first logon, but am unble to get it.

    Hi RadhamAravind,

    Thanks for posting in the Microsoft Community.

    As you create a domain user, the question you posted would be better suited for the IT Pro TechNet public. I would recommend posting your query in the TechNet Forums to get help:

    Windows 7 security TechNet Forums

  • To create the local development environment

    Hello

    I need to create the local development environment

    There are two options:

    1 gateway pl/sql embedded
    2 oracle xml db http server

    * 1. how to know the configuration that I use to create the local development environment? *

    After installation:

    * 2. how to configure? *


    http://hostname/ReportServer: port/apex/apex_admin... for embedded

    or

    http://hostname:port/pls/Apex/apex_admin...for oracle xml db



    from the tutorial, I just couldn't understand.

    for example, apex is defined in the configuration file? ... How to find?


    I'm stuck.

    Hello

    You have database XE, so you have before installation EPG. You don't need to worry about installation of DAD.
    Check the links I posted.

    The only thing you need to do is to allow remote clients, if your database is not in the same machine where you try to access it.

    If you go to Apex of the same machine where is database, point just your browser to http://localhost: 8080/apex

    BR, Jari

  • Create a local user with the vSphere Client

    Hello

    I want to create a new user with the permission of readonly. In the vmware documation salon, they say I have to go to the tab local users and groups, but there is no tab with that name.

    And sorry for my English I'm not a native speaker.

    Hi and welcome to communities,

    This tab is visible only when you connect to the ESXi directly with the vSphere Client. You won't see when you connect to a vCenter server.

  • Restart the system created the new user profile

    When trying to connect to my laptop (before leaving), I have a blank screen with only a cursor before I could log on to the computer. I got tired of hitting CTRL alt del to get into the Task Manager, but he did not do anything.

    Then, I held the power button for five seconds to turn off the computer and restart it.  When he started upward, it showed an error that says the computer is not stopped correctly and on this screen, there are several options to reboot windows, I chose the option "restart windows normally" I could connect with my fine existing password, but when the windows actually open, my experience had changed and all my files are gone.  After some research, I found that all the old information of my were still there, but a separate user profile had been created and everything has been re-pathed to the new user.  The new user profile name was my existing profile name, then my name with a .pc at the end (ie. user name - username.pc).

    My questions are twofold: one) what the hell happened? and (b) what is the simplest to make everything re-pathed to my existing user profile.

    Thank you

    You have been put in a temporary user profile because the original was damaged. You can try the techniques below. If this does not work, let me know and I'll give you another path.

    Critical files are under % systemdrive%\users\user-account\ntuser. The ntuser.dat file is actually a registry hive. Run regedit high and select HKEY_USERS and "load hive" in the menu. Now, go to:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

    There is a line for each profile. If a profile is bad, check:

    (a) that the name of the key does not stop in ".bak" (remove .bak If it)
    (b) that the RefCount value is 0 (change it if it is different)
    (c) that the State value is 0 (change if different)

    If this is not the case, make the changes and try to connect as this user.

    More details of MVP Aaron Tiensivu - assume in this example that the user name is "atiensivu", field is "personal" and the user profile is located in % systemdrive%\users\atiensivu. Letter is usually C: on standard Vista installs. Replace each instance of "atiensivu" by the username of the corrupted profile.

    1. If you can log in profile, take note of the variable value environment % USERPROFILE. It will probably be "C:\Users\atiensivu" or "C:\Users\atiensivu.staff". Logoff.

    2. If you have opened a session with the profile at any time since your last reboot or you think that there are files in use in the profile, reboot. The important part is to ensure that there are no open files in the directory of the profile broke.

    3. log in as administrator or another account that has local administrator rights.

    4. run "takeown /r /a /d y/f % systemdrive%\users\atiensivu.

    5. starting at % systemdrive%\users, rename "atiensivu" to "atiensivu.old".

    6. in % systemdrive%\users, create a directory named "atiensivu".

    7 run "takeown/r/u staff\atiensivu/f % systemdrive%\users\atiensivu".

    8. run regedit and go to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList and remove the SID key to the corrupted profile. Best way to find the correct SID is looking for the 'ProfileList' key to the directory mentioned in %UserProfile% in #1 step.

    9. closure of the session.

    10 log on the account "atiensivu". A new profile must be created. Copy all the files you can of the old profile directory.

    Orders "takeown" might be overkill, but I don't like permission errors.

    MS - MVP - Elephant Boy computers - don't panic!

  • How to remove the local user Mmic?

    Hello:

    I have to connect to cisco Mmic via browser and try to create local users. later I want to delete these users and can not find how. the document mentions only how to add a user and change their rules / passwords, but it didn't say how to remove the old users.

    my version of cimc is 1.43 k. thank you much for the help!

    I'll open an enhancement request to add a feature to 'delete '.   It may be some time until she is a priority in a statement.

    Kind regards

    Robert

  • Migration of the TMS Movi/Jabber manually created the AD users

    I have a lot (75) of users created manually Movi/Jabber in TMS. When we turn to the AD authentication what is happening the old-fashioned manually created accounts? Have they disappeared? In addition, accounts created manually have the same username as their counterparts in AD. Which will cause a problem?

    Thanks advance!

    Douglas,

    I tested in the laboratory and it does not matter the user of the AD, it gives an error.

    Given that I had already 'Michael Schumacher' user added in the local database with the same login name database with AD synchronization does not matter the user and generates the error.

    I use TMS PE and TMS 14.3.2

    Concerning

    Alok

  • Privileges of the local user to access CDB (12 c)

    Hi all

    Q1: What are all the privileges if a USER SPACE (user Admin PDB) must Access or search for objects of the CBD?

    My requirement is as follows:

    Using my application, I want to create a schema in PDB. As we knew that APB uses the CDB undo tablespace, when I create a schema in the PDB to my request, I want to check existence undo tablespace in CBD with the help of LOCAL USER (APB Admin user). Please help me on this.

    Kind regards

    Amar.

    Q1: What are all the privileges if a USER SPACE (user Admin PDB) must Access or search for objects of the CBD?

    A local user no. has privileges at the CDB - this is why it is referred to as "local user"... You must be a common user access privileges of the CBD.

    See the description of architecture shared in the Oracle documentation:

    https://docs.Oracle.com/database/121/CNCPT/cdblogic.htm#CIHHDHGJ

    When the current container is the root, a common user can interrogate CDB_ views to see the metadata for the root and PDB for which this user is preferred. When the current container is a PDB file, however, a user can view data dictionary for the current PDB information only. For an application connected to a PDB file, the data dictionary is displayed as it would for a non - CBD.

    See that last sentence?

    My requirement is as follows:

    Using my application, I want to create a schema in PDB. As we knew that APB uses the CDB undo tablespace, when I create a schema in the PDB for my application I want to check the existence of undo tablespace in CBD with the help of LOCAL USER (APB Admin user).

    No - you must verify the existence of a tablespace, undo for the PDB.

    Like the doc quote above says that a PDB appears as a database file non - CBD to users the. Everything that you see or in a non - CBD database, you do it in the PDB >

  • I can't create the local group on vSphere Client 5.5

    Hello, Hello all!

    I'have the vSphere Client 5.5 and I cannot create a local group on the tab "local users and groups. When I create a group shows me an error and I can not create it. This is the error that I have:

    Call "HostLocalAccountManager.CreateGroup" of object "ha-localacctmgr" on ESXi 'IP' failed.

    I am connected to the root.

    I saw in other forums that it is impossible to create groups due to the last version is only possible in the Web Client that comes integrated with vCenter.

    In the old versions is possible, but when I open a session in vSphere Client 5.0 for example, I have to update version and I can't use the 5.0 version.

    How can you help me?

    Thanks and greetings

    PD: Sorry for my bad English

    Hi Danisb3,

    It seems that local users is now the recommended around work (see link above), but as you said if you have vCenter you can add groups

    ESXi 5.1 and later versions does not support local groups. However, Active Directory groups are supported - is it possible to connect to AD?

  • Windows 7 creates the temporary user in sight? Help!

    I went through the VMware View Administrator's guide and configure my Windows 7 parent image as they recommended.  I created a vCenter Linked Clone together 60 workstations through the automated pool, and they are dedicated.  So when a user logs on for the first time, VMview should assign a desktop computer.

    Well when users access VMview for the first time, they receive a message saying "you have been connected with a temporary profile.  If you look in the profile system you see a 'temp' user profile and that's all.

    I have to create every single user on the image by default before you deploy on the desktop? I have the installation of image of parent with just the local administrator account and add the domain administrator account.  I thought that when the user logs on for the first time would create their profiles and life would be good.

    I need advice to create the user's profile... I tried with my information (im a domain administrator) and it does the same thing... Help!

    You can check under the HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList and see if the SID for your profile is listed under there.  If it is delete and try to logout and login to see if you get the right profile.

    If you have found this device or any other useful post please consider the use of buttons useful/correct to award points

    Twitter: http://twitter.com/mittim12

Maybe you are looking for

  • Office Pro 6830 analysis without connection to a PC

    This device is used as a stand alone fax and photocopier.  The scan function can work without a PC?  It performs the scan page (s) to its USB port with an inserted flash drive?

  • Unable to access iPhoto

    Using iMac, OS 10.6.8. EU struggling to raise to iPhoto, GarageBand, iTunes. Close up, waited 15 minutes. restarted. When trying to bring up iPhoto, dock or applications, get a message: "The photo library must be updated to work with this version of

  • JetAdmin SNMP v3 credentials lost

    Hi, I recently inherited an instance of JetAdmin. My problem is that I do not know the SNMPv3 and password encryption used to put in place my cameras. I am able to change the password via the web interface of each individual printer but I know, if us

  • HP CP3505X: LINES HORIZONTAL YELLOW WITH EVERY PRINT

    HELLO TO YOU ALL SMART PEOPLE! THIS IS MY FIRST POST SO GO EASY! We know what causes the lines on the attached photo? I tried cleaning etc but no avail. I just ordered a replacement yellow toner. but the I is full of 70%. The printer did only 3500 co

  • Unable to print on the printer hp2510

    When I print to printer HP2510 have always error message of "door open, the door must be closed to print check that it is completely closed," even if the door is already closed. I had this error message for nearly a week, how can I solve this problem