Create local user 12g DB
Hi,
I am trying to create a local test user (DB 12g Win7 / 64) :
SQL> conn sys
SQL> alter session set container=PDBORCL;
Session altered.
SQL> show con_name
CON_NAME
PDBORCL
SQL> create user test identified by test;
==> ORA-01109 : Database is not opened.
select .. from v_$services;
0
pdborcl
2477889254
pdborcl
0
5
db112gr1XDB
1684560570
db112gr1XDB
25.07.13
4091627695
6
db112gr1
1712327574
db112gr1
25.07.13
4091627695
1
SYS$BACKGROUND
165959219
28.06.13
3062388681
2
SYS$USERS
3427055676
28.06.13
3062388681
Sorry, I did not learn and understand the new common / local user concept yet.
How can I start the PDB and create a local user to handle normal grant as 11g DB schema users ?
Many thanks and regards
Friedhold
Thanks,
a step forward:
SQL> show PDBS
==> PORCL MOUNTED
SQL> alter pluggable database pdborcl open;
SQL> show PDBS
==> PORCL READ WRITE.
SQL> alter session set container=PDBORCL;
SQL> show con_name;
==> PDBORCL
SQL> create user testx identified by testx;
SQL> grant connect, resource, create view to testx;
==> OK.
SQL> conn testx/testx@db12gR1
=> ORA-01017 : Invalid username/password; logon denied.
What is wrong ?
Best regards,
Friedhold
Similar Messages
-
Create local user via dropdown from .csv
Hello
i try to create a powershell script to create local users on Win7.
All the user informations are stored in a .csv file.
Now I'd like to have a dropdown-menu to choose which user should be created.
So i want the first column of the csv displayed in the Dropdown.
When a option gets choosen the script should read the rest of the information out of the .csv-file and create the user with it.
i got some parts to create a dropdown and to create local users via .csv, but my limited powershell knowledge keeps me from putting it to one piece.Hi Yannick Hassler,
To create local users with properties listed in a csv file, and also add the users to a local group, please refer to the script below:
import-csv d:\3.csv | foreach{
$server=[adsi]"WinNT://$env:computername"
$user=$server.Create("User",$_.name)
$user.SetPassword($_.password)
$user.SetInfo()
# add extra info
$user.Put('Description',$_.description)
$user.SetInfo()
# add user to mandatory local group
$group = $_.group
$group=[adsi]"WinNT://$env:computername/$group"
$group.Add($user.path)
# add users to other groups
Please also save your .csv file d:\3.csv like this :
Name
password
group
description
TUTTLSX
Password
Users
Test user
annaretu
Password
Users
Test user11
I hope this helps. -
HOW TO CREATE LOCAL USER PROFILE
SIR,
OS - WINDOWS SERVER 2008 R2
SYSTEM - IBM MACHINE X3400 SERIES
1. HOW TO CREATE A USER IN WINDOWS SERVER 2008 R2 WITHOUT ACTIVE DIRECTORY
2. AFTER CREATE USER IN WINDOWS SERVER 2008 R2 BUT USER PROFILE NOT CREATE .Hi,
>>1. HOW TO CREATE A USER IN WINDOWS SERVER 2008 R2 WITHOUT ACTIVE DIRECTORY
>>2. AFTER CREATE USER IN WINDOWS SERVER 2008 R2 BUT USER PROFILE NOT CREATE
Creating an user account on the computer doesn't create a profile for that user. The profile is created the first time the user interactively logs on at the computer. After the user logs onto the computer for the first time, the user's local profile
will be created in a folder with the name of the user under the systemroot/Users folder.
Best regards,
Frank Shen -
Can't use local users after they are created
I have a mid '11 macbook pro, with OS X Lion w/ Server functionality installed on it from Apple, so far no third-party server apps/functionality. I have been using Macs and *nix style systems for some time and haven't this specific problem before on lion or previous versions. I have used the server app but never had any problems before.
Ok, so my actual problem: I create local user accounts, through the system preferences pane, configure parental controls and everything that needs to go along with the new accounts, have fast user switching enabled and can see the icon up in my status bar but it will not let me switch to another user account at all. Even upon a fresh boot, I don't have a list of users or anything that might let me select anything other than my main admin account. I do not want to keep using the local admin just because (for possible security reasons) and I am trying to allow family members access to the computer as well with these accounts and it just isn't working (with all known pertinant options checked).
Please help me with this, if there are any screenshots you would like I can provide you with necessary info.
Thanks in advance!!!
-cjSee this...
Songs Missing When Browsing By Artist
btabz -
When i look at snapins thru consoleone i can see that Zenwork 7.0.1 snapin is installaed.
I have Novell Client 4.91 SP5 and Zenwork Client 7.0.173.91015 installed on the clients running WinXP Pro SP3.
There is different of failures that happens..
Senario 1:
I install a Latitude D610 with a WinXP Pro SP3 original CD, from scratch. I only install the drivers for the LAN-card to get access to the network. I do not update windows updates etc.
I install the Novell Client 4.91 SP5, after that i install Zenwork Client 7.0.173.91015. And apply some registry settings to make the novell client to use the "tab-function" and hide advanced settings etc..
I have my eDir user "ADMIN1" with the policy package with settings to Dynamic Local User set to create a local user with name Admin, but im not using volatile user. So the local windows user Admin will be saved when logged out.
I login once with my Admin1 user, it creates the local profile Admin from Default User (with the help of Zenworks, and the policy Dynamic Local User?). I restart the computer and login again, and the local profile Admin craches and create a new one from Default User but this local user profile is namned Admin.Computername.
Ive tested this with atleast four other computers (different hardware) so it cant be a driver issue.
Ive looked thru the local logs, and i cant find anything about any problem with reading the NTUSER.DAT as could be a problem to load the local profile.
I even tested this senario when i update all windows updates etc, with two different version of the zenworks client and so on. ive been testning this for like 100 times now atleast. and same failure is happening. Ive even tested this in a virtual environment (vmware workstation).
Senari 2:
Like the problem descried above, in some cases it loss the connection or something with the zenwork server side and the zenwork client on the client computer... Since it does not attempt to use the settings from Dynamic Local User, becuase i got the windows login window, and i have to login to an already existing windows local account (with otherwords i cant login to the Admin-profile since i dont know the login information to this account since its created by zenworks / dynamic local user settings, and from the settings there you cant set a password, just the name and role of the windows accout that should be created)..
And after a while i try again, and then the settings from Dynamic Local User passes by and log into the, (let me say) Zenworks created local user profile (set by Dynamic Local User settings).
I wanna mention that all computers thats old, no reinstallation.. I can login to without problem, without any crashes of the Windows Local Profile.
Ive succeded once without any Windows Local profile crash, rebooted this computer over and over again, and no failure. If you succed twice, it seems like its fine. But then i reinstalled this computer, just like i did to make it success. But this time it failed on the second try, and got a crashed profile....
Its kinda old hardware to the server where i have my Zenworks, could that be the case? Could it be some timeouts?
The concults i use to fix some problems in our environment updated zenworks from the serverside just before christmans.. Could it be any problems with some windows patch etc?
Any help would be appreciated!
// Jokohanho> installed on the clients running WinXP Pro SP3.
<snip>
> I restart the computer and login again, and the local
> profile Admin craches and create a new one from Default User but this
> local user profile is namned Admin.Computername.
I only know of one XP SP3 issue that could cause this, but it involves a pw
change and RP:
"When you try to log on to a Windows XP SP3-based computer by using a
roaming profile, the roaming profile cannot load."
http://support.microsoft.com/kb/958058
Regards
Rolf Lidvall
Swedish Radio (Ltd) -
How can local user send message to other user via OSX server in mac maverick
I just install OS X server in mac mavericks and enable services such as message, DNS, VPN, etc. I also create local users and local network users. I add some local users from OSX server to Message app in order to message to server, but I cannot send any message to those user, even Bonjour is available but I cannot use it to send message in local network.
I already followed all Server Help in Messages like in this image:
I try to access to my local OS X server via IP address by using other PC, Mac and iPhone and I can get this interface:
I already try in iPhone to send message to local user in OS X server after accessing to OS X server via IP Address, but I don't know how local user can get that message and I see nothing in message_archives of message data of server. Therefore, how each user in OSX server can message to each other across OSX server ? Does Admin have to write some codes or make configuration for providing message services to those users ?
Message was edited by: chhanmalinClient users need to use XMPP client app to log in to server with account name like in server , then user can send message to other users in server. Client users can use iphone, pc, or mac.
-
How do I create Local Network Home Folders for Users from an Active Directory binding?
My situation is this... I run an iMac lab at my school. I have a server set up to manage the network user accounts in the lab. Currently, I can sucessfully create Local Network Users and log in to them from any of the iMacs. My school has an Active Directory set up for all the students on campus. What I'd like to be able to do is configure the server to allow the students to use their user names and passwords from their school accounts to log in to the iMacs and have it automatically build a network user folder on the server for them to use during the lab.
So far, I have been able to configure access for the Active Directory accounts to use the services on the server, mainly File Sharing, but I cannot figure out how to allow them to log into a user account on the client's machines using their same Active Directory credentials. I have even attempted to allow the user accounts to create mobile accounts, but that's not working out either. Entering indivual network user accounts into the server for every student every semester will be a nightmare. I'm sure there's a way to do it automatically using the exisitng Active Directory structure.
The live server is running 10.8.5 Server still, but I've also got a clone running OS X Server in case it matters. Please help!ok reinstalled everything dns seems to be working have done sudo changeip -checkhostname and it says that both names match but then i started open directory and can't seem to get Kerberos started, i've tried changing it to stand alone then back again but it does nothing. I'm wondering why this would happen? i've tried adding a kerberos record but it doesn't do it just does nothing so i don't know what i'm doing wrong. I wondered if it might be a problem with the two network cards and dns as on ethernet one it is getting the dns name xserve.xxxx.ac.uk (which matches what the college server wants to call us) but on ethernet 2 gets xserve-2.local because it tells me that it already exists on ethernet one and renames it to this. I need to set up NAT so have ethernet coming in on port one and out again on port two. I wonder if my dns is backwards as its got the 192. address the NAT uses but its linked to the ethernet port one dns maybe this is the problem. would this cause open directory not to start kerberos?
-
COREid Federation Error: A local user session could not be created for the
Hi,
I installed two instances of COREid Federation in my machine. Also installed SiteMinder and LDAP. Source Domain of COREid (8101) uses LDAP as IdMBridge and Destination Domain (9101) uses SiteMinder as IdMBridge. I am trying to access the resource protected by the SiteMinder from the source domain using the URL which is constructed using the pattern given in the PDF:
http://mymachine.domain.com:8101/shareid/saml/ObSAMLTransferService?DOMAIN=DestinationDomain&method=POST&TARGET=http://mymachine.domain.com:8887/Source/Source.html
Assertions are generated and I can see the assertion in the Source domain and transferred to the Destination Domain.
I get the following error in the Destination Domain Shareid Log file:
ERROR - [http10113-Processor3] - RECEIVER: ERROR: A local user session could not be created for the assertion
Please help me to solve this issue?
Note: The Web agent runs on the web server instance 8887.
SiteMinder is able to protect the resource when accessed.Typically that error occurs when the destinations access management system can't find the user based on the SAML attribute. Check to make sure that the attribute that you are matching on matches exactly.
-
SHAREid - A local user session could not be created for the assertion
Problem: We have a client trying to federate to our environment using POST profile but we are getting the following error, "RECEIVER: ERROR: A local user session could not be created for the assertion".
I verified that the user exist in the directory and I am able to execute a test successfully as that user.
Thanks.There is a requirement that the client needs to send an attribute called "traveler" in the assertion. We found out that the problem occurs only when client sends a attribute in the assertion. When the assertion does not include the attribute, there is no issue. Not sure why that is the case as we have other clients sending the same attribute in the assertion.
Here is the AttributeStatement.
<saml:AttributeStatement xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><saml:Subject><saml:NameIdentifier Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">XXXXXX</saml:NameIdentifier></saml:Subject><saml:Attribute AttributeName="XXXID" AttributeNamespace="http://schemas.xmlsoap.org/claims"><saml:AttributeValue>XXXXX</saml:AttributeValue></saml:Attribute></saml:AttributeStatement>
It does not have <saml:SubjectConfirmation> and <ConfirmationMethod> element. Can that be a problem?
Thanks,
Vinay
Edited by: user504421 on Jul 9, 2009 2:17 PM -
Configured local login on the console, but forgot to create a user...
I saved the config, restarted and now I can't log in. Is there any way to undo this change? Should I just follow the normal password reset procedure (press the mode button, backup config, etc) and then create a login this way?
I assume so, but I'm 50/50 on if I should just clear the whole thing out and start over since I'm not THAT far in.
Thanks!I saved the config, restarted and now I can't log in. Is there any
way to undo this change? Should I just follow the normal password
reset procedure (press the mode button, backup config, etc) and then
create a login this way?I assume so, but I'm 50/50 on if I should just clear the whole thing out and start over since I'm not THAT far in.Thanks
Hi,
First check out that you are able access the router via telnet or console,I mean if your are getting the username prompt.If you are getting the username prompt then try the local username which you have configured.If that isn't working then try for password recovery to make this router as if like new one.
Check out the belowlinks on password recovery for different routers series
http://www.cisco.com/en/US/products/hw/routers/ps259/products_password_recovery09186a0080094675.shtml
http://www.cisco.com/en/US/products/hw/routers/ps274/products_password_recovery09186a0080094774.shtml
http://www.cisco.com/en/US/products/hw/routers/ps221/products_password_recovery09186a0080094773.shtml
and also check out the below link on how to configure local user database in routers
http://www.petri.co.il/csc_how_to_configure_local_username_database_cisco_ios.htm
Hope to help.
If helpful do rate the vlauable post.
Regards
Ganesh.H -
Can't create Local Network Users in Yosemite
I can't create Local Network Users (or change passwords)
Logged on to /LDAPv3/127.0.0.1 as directory administrator
When I try to create a new user (press the [+], fill in the form), it brings up the message:
existing connection is not authenticated or secure: password change denied
I suspect this is emblematic of other issues. I can authenticate for Mail and SMB, but not for AFP or XcodeSo I had this problem last night as well when I upgraded my 10.9.5 OD master to 10.10.
Two obvious problems after that upgrade:
1) Could not add a new Local Network User
2) Existing users could not connect via AFP (but could via SMB)
Through a series of trial and error (and with two Apple Support people...), we found that the following actions seemed to help fix some (but not all) of the problems.:
Problem #2 seemed to initially be fixed by archiving the OD Master, destroying the OD Master and then reimporting from the archive. I archived from the upgraded 10.10, but should probably have tried restoring my 10.9.5 archive (which may end up being why I still have some problems...)
Problem #1 seemed to be solved when I used WorkGroup Manager to reset the password on the Directory Administrator account I use (I also blew out all references to that account from the Keychain, so everything reprompted me to add that password
However, we think the root cause of this might have been that in /var/db/openldap/migration, the following "dot" files were still present after the upgrade
fs:migration root# ls -la
total 6308816
drwx------ 10 root wheel 340 Oct 30 18:59 .
drwxr-xr-x 6 root wheel 204 Oct 30 18:57 ..
-rw------- 1 root wheel 0 Oct 30 18:59 .autossl
-rw------- 1 root wheel 0 Oct 30 18:59 .enableODProxyd
-rw------- 1 root wheel 0 Oct 30 18:59 .rekerberize
-rw------- 1 root wheel 0 Oct 30 18:59 .updateLocales
-rw-r--r-- 1 root wheel 333436 Oct 30 18:57 authbackup.ldif
-rw-r--r--@ 1 root wheel 617453 Oct 30 18:57 backup.ldif
-rw-r--r-- 1 root wheel 617453 Oct 30 18:57 backup.ldif.backup
-rw-r--r-- 1 root wheel 3228537344 Oct 30 18:59 oldsystem.tar
Those 4 .dot files were *not* present in that directory on the two other test OD Master servers that I upgraded without issue.
So we removed them and after having done all the above as well -- I can now add users to the server. The OD engineer I talked to thought that the presence of those .dot files may have been triggering something to rerun every time PasswordService launched.
When all was said and done, I was then able to "kinit <mydiradminaccount>" correctly and get a "klist" without issue.
ALL THAT SAID: As of this morning, *some* (most? I don't know yet) of my existing OD user accounts are able to successfully log into the server. A couple of them (so far) are reporting that their account is "disabled" (which is different from the "shaking"/can't-log-in behavior) -- but they can still log in via SMB -- so I think there was still a problem migrating OD accounts in the upgrade process.
AND -- I noticed that -- in Server 4.0 -- "change password" is greyed out, so I have to use WorkGroup Manager to change server account passwords.
Whee... -
Creating Local OS user on Solaris
I am trying a test install of OAS 10G 10.0.4 on solaris 8 and in reading the 10 G installation guide for solaris Page 20 step 8, it mentions the username to be ( oracle ). Can I setup an OS user with a different Name or is it mandatory to have the name as oracle.
If you read the real Install Guide ie the thick one not the quick one :) it says something along
"If you do not already have a user for installing Oracle products, create a user with the following properties:
Login name -- You can use any name for the user. This guide refers to the user as the oracle user." -
What happens to my local user data? -newbie question sorry
Hi All,
Firstly apologies if this seems a dumb question, I've scoured the forums but I require something that fits my specific situation.
I've had a (my first) MacBook for about 9 months, built up a fairly healthy local user, setup just how I like it, MobileMe, iTunes, Chrome, iPhoto library, lots of other apps, etc etc and so forth.
I'm setting up a Mac Mini Server, and was wondering what I can do to join the new server, but take all my settings/downloads/iTunes etc with me... I don't want it all stored on the server, but I come from a Micro$oft Windows background. With MS, when you add a PC to a domain, login with the appropriate user account, you have a fresh profile, no settings, no files, no customisations etc etc is this also the case when I hit that Join Network Account server button on my Mac? Will I get a blank fresh account on my Macbook?
I'm guessing this must happen quite often as people start their way into Apple technology and build up a nice healthy local account before branching further into the Apple world...The two laptops I use everyday have access to all the servers via my network account. It is set so that my user account is listed as having "no home" So I log into the laptop with my local user account with a UID of 501 but access all the network services via the go menu and my network account of the same name but with a UID of 1034.
For all other users in the company, if they are on a laptop, I use network accounts. The machines are managed to ask if the user wants to create a mobile account when they login. For permanently assigned laptop users, the answer is yes. This puts their home on the laptop and ties them to that machine. I use mobile account syncing to make sure their critical data is copied to the server for backup.
By having the machine ask to create the mobile account, users can answer no and login to their network home. The use of the laptop may be needed temporarily if a regular workstation is down.
Once in a while I will need to convert a local account to a network account. While a bit more laborious that setting it up correctly at the beginning, it can be done.
But I never let any user account have the UID of 501. I would set that up as the local admin account I use for installing updates and performing other maintenance. If needed, I would back up the user data and erase and re-install the OS. -
SSO for application systems with local users?
Hi all, I'm new to Oracle Identity Management. My company is going to implement SSO for inhouse applications. However, some applications have their own local users (e.g. admin, guest, etc.) who have to login to the application system through the same interface. We put all organization users in an Oracle enterprise Directory server, which is the authentication backend of the Access Manager. After implementing webgate, such local users can't get authenticated. I'd like to know if it's possible to configure particular users/applications to bypass SSO and use local authentication? Thanks.
Rgds
/ST wongPossible solution is to create a new entry point for local users. Create two proxies one for actual user entry and another for local user. You can restrict n/w access to proxy with local login so that only few hosts based on your requirement who needs to access system with local accounts. This way you will have two web sites for single application.
-
Hi all,
I am trying to write a script to create new user in Active Directory using power-shell
$sam = "13653123"
try{
get-aduser -Identity $sam -ErrorAction Stop
catch [Microsoft.ActiveDirectory.Management.ADIdentityNotFoundException]
$error1= [System.Windows.Forms.MessageBox]::Show("ERROR : Account Not found")
$SamAccountName = $sam
$gn = "Jack Sparrow"
$Initials = "ZX"
$dn = "$gn "+" $Initials"
$Department = "1260"
$title = "AM"
$pwd1 = read-host "Please enter the password"
$pwd2 = read-host "Please enter the password"
if($pwd1 -eq $pwd2)
$pwd = $pwd1 = $pwd2
try
$userprinicpalname = $SamAccountName + "@XXX.com"
New-ADUser -SamAccountName $SamAccountName -UserPrincipalName $userprinicpalname -GivenName $gn -Initials $Initials -Name $dn -DisplayName $dn -Title $title -Department $Department -Office $Department -Path "OU=XXXX,DC=XXX,DC=com" -AccountPassword (ConvertTo-SecureString $pwd -AsPlainText -force) -Enabled $True -PasswordNeverExpires $False -ErrorAction Stop
catch [Microsoft.ActiveDirectory.Management.ADPasswordComplexityException]
$error7= [System.Windows.Forms.MessageBox]::Show("ERROR : The password you entered doesnot meet the complexity set in the Password Policy" )
break
else
$error2= [System.Windows.Forms.MessageBox]::Show("ERROR : passwords donot match")
I am getting issue when The password complexity error is coming. It is showing up the error in the catch, but it is creating the account in AD and disabling it.
What I want is if any error is found and caught in the catch, then the user should not be created. How to do that?
Please provide your valuable suggestions and help me out
Naveen BasatiThis is a good way to get teh paassword to abort when it fails the test.
function Test-Password{
Param($Password)
Try{
$pwd=ConvertTo-SecureString $Password -AsPlainText -force
Set-ADAccountPassword testuser11 -NewPassword $pwd –Reset
# it worked so return the encrypted password
$pwd
Catch{
Throw $_
$sam = "13653123"
if(get-aduser -Filter "SamAccountName -eq $sam"){
Write-Host 'User already exists' -ForegroundColor green
}else{
Try{
$pwdText='x123!heLno34' # 3 levels of compexity plus length > 9
$pwd=Test-Password $pwdText
$given='Jack'
$surname='Sparrow'
$Initials='Z'
$Department='1260'
$title='AM'
$props=@{
SamAccountName=$sam
UserPrincipalName="$[email protected]"
GivenName=$given
Initials=$Initials
Name="$given $initials $surname"
DisplayName="$given $initials $surname"
Title=$title
Department=$Department
Office=$Department
Path='OU=TestOU,DC=testnet,DC=local'
AccountPassword=$pwd
Enabled=$True
PasswordNeverExpires=$False
New-ADUser @props -ErrorAction Stop
Catch{
throw $_
We just re-throw the error and it propagates to the outer try/catch block.
¯\_(ツ)_/¯
Maybe you are looking for
-
how do I get my itunes purchases put on all my apple products. just bought an album from my pc and want to have it on my ipad.
-
Sender Agreement not needed when in httpclient to file scenario.
Hi, I will like to understand why in the httpclient to file scenario, a sender agreement is not needed? Thanks.
-
How do I grey out both Save and Save as in a protected file?
I have a pdf that I have enabled security on. password to open, no Print/no edit/no copy paste etc. However users can still do 'Save as'. Can I do something to prevent any form of 'Save' after the file has been opened? Thanks Lee
-
Every time I send my friend an emoji using SMS, he receives it as a whole bunch of letters and symbols and sometimes the bubble is blank(he also has an iPhone btw). Why does it do this and can I fix it. Also, I see all of his messages and emojis any
-
Possible to download already purchased Audiobooks a second time?
I've been searching the discussions but found no clear answer. I accidentally erased some audiobooks while, ironically enough, making backups. Ha HA! EEEeeediot. I see that the policy as stated: "When you buy a song, video, iPod Game, or album from t