Creating new login keychain

In deleting and reorganizing files the other day, I somehow deleted my keychain(s). I've attempted to verify and repair things using Keychain First Aid and am told "login keychain not found." Attempts to simply create a new keychain by this name or any other names brings about the message, "An error occurred while creating a new keychain."
I've scoured the topics here but have not been able to find instructions specific to this type of issue.
Any advice on how I can restore the login keychain or create a new one is greatly appreciated!
Many Thanks!

Indeed it can, or you can perform a complete Archive and Install or you can first try the suggestions below:
Login as root and perform repair In some cases, problems with keychains can only be resolved when logged in as the root user.
First, enable a root user account, as detailed in Knowledge Base article #106290 (briefly: open NetInfo Manager, located in Applications/Utilities, click the lock and enter the administrator password, then select "Enable Root User" from the Security menu and follow on-screen instructions).
After enabling the root user, and logging in under this account, again open Keychain Access. First attempt repairs using Keychain First Aid, and failing that, delete then recreate the keychain as described above while logged in as root.
Please remember to log out as root user once you've finished dealing with Keychain.
Hope one of these helps,

Similar Messages

  • Logging-in doesn't create new login keychain

    I'm helping someone with 10.5.1.
    We had to reset their account password (they forgot it), but now their "login" keychain password doesn't match, and they don't remember it. They don't mind too much if they must lose their old "login" keychain (there's not much in there).
    So I started Keychain Access, selected the login keychain, and chose File:Delete Keychain "login". I deleted "references only", because maybe they'll remember the password later, and there might be things in there they'd like to recover. Now, from reading
    http://docs.info.apple.com/article.html?artnum=301364
    it sounds like if they reboot and login again, it's supposed to make a new, clean "login" keychain, but it doesn't. In fact, it finds the old "login" keychain all over again and it shows up again in Keychain Access.
    Is this a bug in 10.5.1? Am I supposed to do File:New Keychain and make my own keychain named "login"? Am I supposed to use Preferences:Reset My Keychain? Is there an Apple article that covers how to recover from a lost "login" keychain password? That article I read appears to be incomplete.

    ..."it sounds like if they reboot and login again, it's supposed to make a new, clean "login" keychain, but it doesn't."...
    The "help" document referred to in the article you linked (which happens to be a 10.4 help document) suggests:
    ..."If your keychain has become inaccessible for some reason (for example, if you've forgotten the password), you can delete it and manually create a new keychain."...
    Note the word "manually", which implies that rebooting and logging in won't automatically result in the creation of a new keychain. The wording of the 10.5 is slightly different, with the absence of the word "manually". However, the wording still suggests that you have to create the keychain yourself:
    http://docs.info.apple.com/article.html?path=Mac/10.5/en/9078.html
    ..."If your keychain has become inaccessible for some reason (for example, if you’ve forgotten the password), you can delete it and create a new keychain."...
    I suspect that in 10.5, you do still have to create a new keychain manually ("File" > "New Keychain" and naming it whatever you like), select it in the sidebar list of keychains, then make it the default keychain ("File" > "Make Keychain "xyz" Default").

  • Establishing new login keychain

    First, yes, I'm an idiot. Can't remember password for keychain created in 2005, migrated through 3 machines and several OS versions. Keychain is freaking out only over Twitter where it keeps rejecting username/password. Can't fix what might be only a single problem with this site using Keychain First Aid without the password, so here I am. Here are some questions I can't find an answer to.
    1. My Keychain is big, much of it out of date and with multiple logins for the same site that are irrelevant now. Can I delete them safely? If so, how?
    2. Since I'm starting from scratch, should I use another password manager like 1Password for syncing with iPad, etc.? If Keychain is good enough, is there a best practices way to replace the old keychain efficiently and safely? Can I access the login keychain to copy items from the old to the new? Or should I just bite the bullet and spend Christmas Eve paying for my slipshod computer habits? Thanks in advance.

    You can delete old or othewise useless entries. Select them and press the delete key.
    If your keychain is unlocking on login, then it is the same as your login password. If that password doesn't work, then the keychain is likely corrupted and probably should replaced.
    To move entries from one keychain to another, you have to know the password of the original keychain, and you have authenticate every single one of them, separately. It works just like any other program asking for access to a keychain entry, you must authenticate to allow Keychain Access to get the information out of the item.

  • Create new login

    Hi Guys, hope someone can help.
    I am trying to create an ODI operator user that can only view Sessions in Operator and cannot make any changes or stop/start.
    In Security Manager I have created a user and added the Profiles "CONNECT" and "NG REPOSITORY EXPLORER" which I believe is enough to be just able to browse and monitor sessions.
    I have then tried to create a new Login for this user by clicking the "New" icon on the Oracle Data Integrator login dialog.
    This opens up a Work Repository Connection dialog. Login name I presume is a name I input for the new connection followed by the user and password I created above in Security Manager.
    The Database Connection user and password I have used is the database user that was created when ODI was installed and is the password used on other connections we have. Tthe other fields are Oracle JDBC driver, the driver name auto fills and the URL is entered correctly as when I click Test to test the connection I get a successful connection - OK.
    When I click OK to create the new login I get an error
    java.ioFileNotFoundException: .\snps_login_work.xml (Access is denied)
    I have tried changing the permissions on the file and directory ($ODI_HOME/bin) to 777 but I get the same error when I try and create a new login.
    It is driving me nuts; does anyone have a suggestion?
    Thanks.

    ODI version is 10.1.3.6.2
    I have been trying today to find an equivalent to filemon for HP-UX but have not found one yet.
    I have tried to set the various directories in the directory path $ODI_HOME/bin all to 777 and this does not allow me to greate a new login.
    I have tried to create a login using SUPERVISOR/SUNOPSIS and I get the same error.
    One possible (clutching at straws here) issue is the directory 3 directories up from $ODI_HOME/bin is owned by the database user and not the odi user (single node dev installation). Is this the problem?
    thanks
    Edited by: lfcartesian on Jul 7, 2011 4:32 PM

  • Running into Exception while Creating new Login Page for Security

    Hi,
    I am following ADF Developers Guide to create a new login page ,so that whenever a page is run , first it redirects to Login page first and on Button click it
    goes to the Original page which was run.
    This is my Login bean code for doLogin()
    public String doLogin(){
    String un = _username;
    byte[] pw = _password.getBytes();
    FacesContext ctx = FacesContext.getCurrentInstance();
    HttpServletRequest request = (HttpServletRequest)ctx.getExternalContext().getRequest();
    try {
    CallbackHandler handler = new URLCallbackHandler(un, pw);
    Subject mySubj = weblogic.security.services.Authentication.login(handler);
    weblogic.servlet.security.ServletAuthentication.runAs(mySubj, request);
    ServletAuthentication.generateNewSessionID(request);
    //String loginUrl = "/adfAuthentication?success_url=/faces/viewactivityname";
    //sendForward(loginUrl);
    } catch (FailedLoginException fle) {
    FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR,"Incorrect Username or Password","An incorrect Username or Password" +" was specified");
    ctx.addMessage(null, msg);
    setPassword(null);
    } catch (LoginException le) {
    reportUnexpectedLoginError("LoginException", le);
    return null;
    Now the Dev guide says that :: "Specifically, without specifying a view activity as the
    redirect target, command components, such as the commandButton
    component, will always return to the original page after login."
    Hence I have commented out the code for the call to sendForward().
    As soon as I press the button I am running into an error :: "javax.faces.el.EvaluationException: java.lang.NullPointerException"
    ]] Root cause of ServletException.
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
         at oracle.sample.view.LoginBean.doLogin(LoginBean.java:60)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    These are the steps which I followed ::
    a) Created Managed bean class and registered it to adfc.config.xml
    b) Created a Custom Login Page say Login.jspx and created a DataBound Page say EmpDetails.jspx
    c) Made sure that My Login page is custom Login Page
    d) Command Button has the Action Property set to LoginBean.doLogin
    e) Configured security and has only one user, no roles and assigned the user to access the page
    e) When I run EmpDetails.jspx , I am redirected to Login page as expected but as soon as I press
    Login "CommandButton" it throws this error.
    Any pointers.
    Regards,
    Nikhil Misra

    Hi Puthanampatti,
    In that ase what would be my sendForward() mthod look like.
    Currently as per the Dev guide it is :
    private void sendForward(String forwardUrl) {
    FacesContext ctx = FacesContext.getCurrentInstance();
    try {
    ctx.getExternalContext().redirect(forwardUrl);
    } catch (IOException ie) {
    reportUnexpectedLoginError("IOException", ie);
    ctx.responseComplete();
    I understand tat there would be change in parameters like sendForward(HttpServletRequest request,HttpServletResponse response,String forwardUrl),
    but how would the other parameters work.
    Regards,
    Nikhil Misra

  • How can create new Login without admin privilage schema........

    Hi,
    Any body suggest me to create the new user without any admin acccount or here no sys account or privilage login.......
    i don't no the login id or password of any admin schema........(For exm sys,system etc)
    Thanks,
    Ritesh

    Is there any relation to Oracle Reports?
    create the new user without any admin acccountThis is a DBA job, and your DBA hasn't given you the system password. Ask your DBA for CREATE USER privilege if you need to do this as a non-DBA user.

  • Where has my login keychain gone?

    I opened Mail this morning to find that all my accounts were asking for my password. I thought this was a bit strange but I typed them in again anyway and checked the remember in keychain box. It did this with no complaints but when I checked in my keychain later, the passwords were not there. In fact, I couldn't seem to make any changes at all. I checked the padlock at the top of the page and it was closed, but clicking it did nothing and it didn't say about clicking the padlock to unlock.
    I decided to restart the computer to see if that fixed it but when I did, my login keychain has totally gone. Trying to create a new keychain called login just fails saying there was an error. How do I get a new login keychain?

    I've just found the repair keychain option in preferences and it all seems to be working now. Still wondering why it messed up in the first place though...

  • Two "Login" keychains . . . (better than one?)

    Yo, all.
    The other day I was tinkering with my keychain access and noticed that I have TWO (2) "Login" keychains. They are identical, unlocked . . . I decided to delete one of them and voila, they both disappeared! When I created a new Login keychain two appeared!
    Any ideas about this one? Seems weird to me.
    Thanks in advance.
    Dan

    I was just wondering about something. I have a 30gb
    black iPod 5g. I also own a podsplus case that I've
    had it in since I got it. Could I also wrap it in an
    InvisibleShield to keep it from being scratched by
    dust that gets into the case? Or would it make it
    impossible to get out? Thanks
    I have the Invisible Shield and the PDair case, which is exactly the same as the Podsplus, as far as I can tell. It's a snug fit, but they work fine together. I leave my iPod in the case when updating, but take it out it when charging the battery.

  • Login keychain acting weird!

    I just bought at 17" powerbook and I put all of my old keychain passwords from my G3 desktop into my new login keychain. Now, when I try to access the login keychain, nothing comes up. Even the locked/unlocked icon is missing, and I can't access any of my passwords at all. I also cannot delete this keychain or lock/unlock it. It is essentially useless.
    I did create another keychain called "login", and it is effectively saving new passwords, but now there are two login keychains and I don't know what to do about the old one.
    T

    resetting an account password does not change the keychain password. you need to know the old keychain password to open the keychain or change its password. there is NO way around that. if you don't know or can't remember the old keychain password you can't access old keychain entries. you then need to delete the old keychain and make a new empty one with the new user password as the keychain password. to do that delete (or move somewhere) the file home directory/library/keychains/login.keychain and log out/in. a new blank keychain will be generated and you can start saving passwords into it.

  • DBO Permission to create new users

    Hello, 
    I was under the impression if a user has dbo role for a database he is able to create new logins, could somebody confirm?
    Best regards, 
    Mohan

    Yep. Provided the login is mapped to sysadmin server role, he can create new logins
    http://msdn.microsoft.com/en-us/library/ms188659.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Airport password created in login and system keychain both..

    Hey,
    I've been having a few vexing problems with my new MacBook 2.16 running 10.4.6 that I was hoping that I might get solved on here. I've been unable to get my machine to use the airport password in the system.keychain. If it's not in the login.keychain, it doesn't work. I've tried deleting and re-creating the keychain using systemkeychain -vfCt and it still doesn't work. Anybody have any ideas? I'm downloading the Combo 10.4.6 updater to see if that corrects the problem. I've already tried to repair permissions.
    If I elect to save the password to an airport network, it is saved in both the login and system keychain and I'm not sure if this is the correct behavior.

    I've applied the 10.4.6 Combo updater, no affect upon the problems that I've been having with airport. It just won't seem to use a password stored in the system.keychain for some reason.

  • Login keychain not storing iChat password since new Logic board

    A few weeks ago I had to take my MacBook Pro in for repair (the graphics chip died). At any rate, they fixed the issue by replacing the logic board. Now, however, it seems to have screwed up my login keychain.
    Whenever I open iChat now I'm prompted for my AIM password. Even though I ask for it to be stored and remembered by keychain it is not. I have tried repairing the keychain, creating a new one, deleting/re-installing iChat, and even trying a brand new user account all to no avail.
    So what gives? Has the new logic board permanently screwed up some settings on my MBP? Is there anything else I can try?
    Thanks
    Message was edited by: Dryvlyne

    Dryvlyne wrote:
    I already re-installed iChat by running the Optional Installs.mpkg from the SL disc. Is this why you were suggesting I use Pacifist or can it repair the code signature you speak of?
    no. I wasn't sure if optional installs offers ichat as an option. if it does you can use that instead of pacifists. it should work just as well. but make sure you reapply 10.6.2 combo update afterward.
    What about me not being able to edit and save changes to my keychain items. Doesn't this imply a problem with Keychain?
    do you mean you have problems with other keychain items beside ichat? on all accounts?
    BTW, you marked my post solved. you shouldn't do that until and unless your problem is actually resolved. this tells other posters that your issue is fixed and disinvites further responses.
    I dunno, the whole situation is strange. I have Google Notifier installed on my MBP and it was able to save its password to Keychain just fine.
    Thanks

  • Keychains, new login has appeared with changed password

    Hi, all of a sudden i cannot access my logins in keychains, now in keychains login_renamed_1 has appeared and i can no longer get into my keychains, I can only acces the original login but all the items bar four have been moved into the new login renamed keychain. How can i change the password? I dont have the mac install cd to hand at the moment so is there another way without the cd?

    iWantAniPad91,
    PostgreSQL is a database. When it is installed, it creates its own user, so that all of its files are owned by the PostgreSQL user. If you haven’t installed PostgreSQL yourself, then one of your apps might have done so for you if that app depends upon PostgreSQL to function.

  • Create a new login in linked server

    Hello,
    I have 2 SQL servers that are linked. I can use this query to select some values from remote DB:
    exec sp_addlinkedserver
    @server=N'WinServer',
    @srvproduct=N'',
    @provider=N'SQLNCLI',
    @datasrc=N'10.3.0.217';
    GO
    exec sp_addlinkedsrvlogin
    @rmtsrvname='WinServer',
    @useself='false',
    @locallogin=NULL,
    @rmtuser='sa',
    @rmtpassword='123456';
    GO
    exec sp_testlinkedserver N'WinServer';
    select * from [WinServer].[MyDB].[dbo].[MyTable];
    But I want to create a new login on remote computer as below but it doesn't work:
    exec sp_testlinkedserver N'WinServer';
    -- use [WinServer].[MyDB].[dbo].[master];
    exec sp_grantlogin 'INTERNET\Domain Admins'
    How can I change authentication (add user) remotely without using "sqlcmd -S ... -U ... -P ... -q ...". Because my DB users will use this link object but they will not have  sa's password of remote computer.
    Thanks.

    Typo: Not AS, it should be AT
    EXEC ('CREATE LOGIN [INTERNET\Domain Admins]') AT Link

  • Login page keeps going to "Create new user account" on login

    For about 3 weeks, whenever I log in, the next page I get is nearly always the "Create new user account" page. This happens regardless of whether I wait to let AutoFill enter my user name and password or whether I fill in the correct info myself.
    When I click the back button on my browser and finally arrive at the page with the forums list, I'm always registered as logged in. But sometimes I just end up back on the login page with a blank entry box.
    How do I get to the forums page without having to get out of the "new user account" page first? (While this isn't a huge problem, it's time-wasting and kind of annoying, and it didn't used to happen.)

    Hi Turtlewiz!
    Have you tried deleting your browser cache & cookies?
    Good Luck!
    ali b

Maybe you are looking for