Terminal Asks for password

Hi,
When I open the terminal app it prompts for a password before it displays the prompt. I can type my password, then the prompt is displayed and terminal appears to run as expected.
I have compared the preferences to another machine that does not ask for the password and they are the same. I have run a permissions repair and removed the ~/library/preferences/com.apple.Terminal.plist but neither has fixed the problem.
Any suggestions as to what might be the issue?

Either you have something in your .bash_profile (or .bash_login, or .profile) that is running a command that wants your password, or your terminal default session has been configured to ssh into another system (which could be localhost, aka yourself).
So look at the shell initializations files I mentioned above. See what they are doing. You could always edit the shell initialization file and add
set -x
at the very beginning to see exactly what it is doing when you login. Remote the "set -x" when you are finished.
To see if you have your Terminal preferences configured to ssh, you could enter the following
printenv | grep ssh
If you get
SSH_CLIENT=::1 49801 22
SSH_TTY=/dev/ttys001
SSH_CONNECTION=::1 49801 ::1 22
chances are you have been issuing the ssh command as part of your Terminal preferences.
By the way, Terminal, Unix, X11, and command line command, ssh, rsync, etc... questions are best asked in the Mac OS X Technologies > Unix Forum
<http://discussions.apple.com/forum.jspa?forumID=735>

Similar Messages

  • Cannot write anything when terminal asks for password

    I try to uninstall a F-secure product with uninstaller but when prompted about password I cannot write anything there

    Cannot write anything when terminal asks for password
    When using sudo in Terminal, which requires a password, typing the password will not show as asterisks. It does not visually echo the keystrokes, but it is accepting them.
    Just carefully type the password, and press Return when finished,

  • HT4103 Terminal will not accept typing or pasting after it asks for password.

    After enterin sudo command, terminal asks for password. After that it will not accept typing in password, I type and nothing appears. If I try to paste in password nothing happens.

    The password is never echoed (Displayed) into the teminal window. So after you type the password in hit the enter key or just let it work for the command you entered. When it is finished doing what you ask it to do with whatever command you typed in the normal prompt will return.

  • Trying to turn off spotlight because it's a resource hog.  open terminal and enter command but it won't respond or even ask for password.

    trying to turn off spotlight because it's a resource hog.  open terminal and enter command but it won't respond or even ask for password.

    Step #1:
    In System Preferences click on Spotlight.
    Step #2:
    Click on the Privacy tab here.
    Step #3:
    Click on the + button here and when the window opens click on "Macintosh HD" (or whatever you've named your HD) and then click the Choose button.

  • Finder keeps asking for password verification

    Finder keeps asking for password verification when I ask to move or delete a file.
    How can I stop this from happening?
    Thanks in advance.

    Repairing the permissions of a home folder in Lion is a complicated procedure. I don’t know of a simpler one that always works.
    Launch the Terminal application by entering the first few letters of its name into a Spotlight search. If that doesn’t work, then in the Finder, press the key combination shift-command-U. The application is in the folder that opens.
    Drag or copy – do not type – the following line into the Terminal window, then press return:
    chmod -R -N ~
    You may see a few error messages about an “invalid argument” while the command is running. You can ignore those. If you get an error message with the words “Permission denied,” enter this:
    sudo !!
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    Next, boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
    In the Terminal window, enter “resetpassword” (without the quotes) and press return. A Reset Password window opens.
    Select your boot volume if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select  ▹ Restart from the menu bar.

  • Hi I can't update my apps when I try to update it asks for password when used it goes back to update. I think I'm not alone and have tried changing date switching off signing out and in and rebooting. Is there a solution or do I need to take it in?

    I can't update my apps each time it asks for password when entered it goes straight back to update. I don't think I am alone in this. I have tried changing the date, rebooting, switching off and on signing out and nothing works. Does anyone know of a solution or will I have to take it to an apple shop. My misses has no trouble with her updates, they are both on iOS 6. Hope someone can help.

    Tried that just said cant connect to iTunes Store which was different.

  • Not able to open mail from my mac, gmail repeatedly asking for password. but using same password able to open gmail on safari

    not able to open mail from my mac, gmail repeatedly asking for password. but using same password able to open gmail on safari

    okay well they got me to take out some .plist files to see if that would help it didn't. I'm not sure what ones that they deleted for my self maybe someone here would be abel to tell you what ones to take out but didn't work the one that came close to working was this going into keychain and deleting the account(s) then reading them again.
    if you are to do this please back up first with Time Machine. You can do this with a usb drive.
    Okay so go back to where you had internet accounts and make sure mail is shut. click the - on the account your having problems with then quit system preferences.
    Okay so then press cmd and space bar at the same time then type 'keychain access' into the search then click on 'keychain access'
    once it is open go to the top of the window and put your email address that you are having problems with.
    once you have put in your full email, have a look at what comes up i deleted things in the kind colome with 'internet password' and anything with under name that had smtp.gmail.com or imap.gmail.com so it would look like this, map.gmail.com - internet password.
    right click and delete them. make sure not to touch any other files that dont say them things on them.
    Once you have done this quit keychain access and then restart the computer, once the computer is restarted go back to system preferences and internet accounts and re-add the account.
    Hope this helps. if something is not clear just ask.

  • SharePoint 2013 - Asking for password with NTLM

    Hi All,
    We have deployed a web application using NTLM with single sign on. It’s a secure site and in IIS bindings we have SSL certificate attached with this web application. However, many users are keep getting windows authentication prompt as shown:
     There are lot of blog posts that solve the issue by adjust IE settings >> Security >>
    Sites >> Advanced >> and added the site URL and
    Security
    >>   Local Intranet >> Custom Level >> At bottom choose “Automatic logon with current username and password”
    http://blog.fpweb.net/sharepoint-credentials-prompt-quick-tip/#.VPBz3vmUdUW http://www.sharepointdiary.com/2012/04/sharepoint-keeps-asking-for-password.html
    https://sysadminspot.com/windows/google-chrome-and-ntlm-auto-logon-using-windows-authentication/ (IE, Chrome, Firefox)
    http://social.education.purdue.edu/edit/2011/03/sharepoint-pw-prompts/
    I have tested the blogs posts and change the settings in our development environment
    and no windows authentication was shown with my username on the SharePoint 2013 environment. But, all related to change IE settings. In our organization, we have around
    2000 users. It be impractical to set for users for these IE settings and network team regularly pushes group polices.
    Q: Is some configuration has to be set on IIS or
    some settings on SharePoint that users don’t get windows authentication? I have tried most of options but could not resolve this issue.
    Any pointers would be greatly appreciated.    
    Cheers,    
    Aroh Shukla

    Sites go into the Intranet Zone, not the Trusted Zone. Only Intranet is configured, by default, to automatically pass credentials to SharePoint.
    Yes, there are scenarios where this may not work, e.g. if you've configured the Web Application with Kerberos but didn't configure the SPN. Or if you're using Kerberos Constrained Delegation with Domain Controllers older than Server 2012 and your users are
    in a different forest, etc.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • I forgot my icloud id and password. i want to delete the id. i forgot the password. if i try to delete the account its asking for password. i cannot find how to delete the account. Please anyone can help me out???

    I forgot my icloud id and password. i want to delete the id. i forgot the password. if i try to delete the account its asking for password. i cannot find how to delete the account. Please anyone can help me out???

    You aren't going to be able to delete it without the correct password.  If it's your ID, you can reset the password as explained here: http://support.apple.com/kb/HT5625.  If it isn't your ID, you will have to get the password for the person who owns the ID.  There's no way around this and no one else can help.

  • Cant update apps. asks for password for another account i had on a dell notebook. either i forgot the pass word or its not taking it. i can download apps,music with present mac note book but not apps. how can i update apps on my mac and iphone 4?

    cant update apps on my mac or iphone4. asks for password for another account i had on a dell notebook. either i forgot the pass word or its not taking it  . i can download apps and music.  how can i update apps on my mac and iphone 4?

    I had the same problem today and was able to resolve it without having to do a restore or reset. The problem had something to do with my mail accounts. The upgrade reset my mail settings, switching both my gmail and my .mac mail to "archive all mail". I went into the General Settings, disabled that setting, and resynced the phone. The "other" storage allottment dropped back down to less than a gig.
    Before you restore or reset, I would try that first.

  • I changed my email address for my apple id but icloud still has old email adress and when I try to signout so I can sign in with new address it asks for password and then says invalid so I cannot delete the account to sign in with the new one! Please help

    I changed my email address for my apple id but icloud still has old email adress and when I try to signout so I can sign in with new address it asks for password and then says invalid so I cannot delete the account to sign in with the new one! Please help

    OK...now I appear to 'progressed' I changed my email address back to original on Apple id and then was able to delete icloud account. Apparently I couldnt do it as it kept requesting password  when I entered passsword ( both old and new one, it wouldnt accept it as it had my old email address in ) It didnt do that on ios6 . Anyway I deleted account, but now I tried to login in with my new id/password and it says unable as already in use!!! More help needed please! Its a nightmare!!

  • I have never had to enter a password to access mail. However, recently, I keep being asked for password on my ****** address. Only on my macbook. (which, btw, has a version number the drop down doesn't offer as a choice. I had to putt 9.4)

    I have never had to enter a password to access mail.
    However, recently, I keep being asked for password on my ***** address.
    Only on my macbook. (which, btw, has a version number your drop down doesn't offer as a choice. I had to putt 9.4)
    When I look up the account the "password" is a long string of gobbledygook. Something I would never do.
    But when I attempt to use that pw I still can't get in.
    I have no trouble accessing that email account on my mac mini. Just on the macbook.
    <Edited by Host>

    Maiko,
    I'm confess I'm still trying to get a handle on your problem. You do a fantastic job of describing it ... but I'm just trying to picture it accurately in my head.
    I think, were I in your shoes, I'd begin by looking at what the debug page has to say for the specific destination in which you're interested in fixing. In other words, I'm not clear on where, exactly, this destination points ...
    Destination illinois.edu.1945806043
    Is that your site, or the division within your site that you want to fix? "Normally", you do not need to specify a site handle to get to your site within your transfer CGI ... if you say "uillinois.edu", it's enough to transfer your users to iTunes U ... but every site still has a handle, and you could, if you wanted to, actually specify it in your transfer CGI. For example, this:
    Destination uic.edu.1139051993
    is for my entire site ... it's my site handle. Whereas this:
    Destination uic.edu.1991288441
    is for a division within my site ... but it's impossible to tell the difference between "site" and "division" from just the handle (I mean, if I didn't say "this is a site" and "this is a division", there'd be no way for you to know). So when I look at your creds and permissions on your debug page, I can't quite tell if they give you download access for your site, or for the specific division you want to fix. If you could open the debug page with your division as destination (or confirm that that's what we're looking at), it'd rule out some things.

  • Upgraded to Mavericks. Calendar.app asks for password to sync calendar to Exchange account. Exchange server rejects password.

    Upgraded to Mavericks. Calendar.app asks for password to sync calendar to Exchange account. Exchange server rejects password.  Had to go to Outlook (ugh!) in order to work (this suck!).  Please help!

    Wanted to chime in and say I'm having the same problem. Had to go back to Outlook which feels ancient. Hope Apple fixes this soon.

  • My daughter has disabled her ipod, and screen is saying "connect to itunes!, when I connect ipod it is asking for password???? can anyone tell me what to do, we have an itunes account set up???

    My daughter has disabled her ipod and we do not know how to re-set her password,Message on ipod screen
    is "connect to itunes" have connected ipod and it keeps asking for password which we have disabled??
    can anyone help.

    Place the iPod in recovery mode and then restore the iPod.  For recovery mode see:
    iPhone and iPod touch: Unable to update or restore

  • Need help my ipod touch will not let me on the net iam with sky and it was working fine then a padlock appeared next to it and it keeps asking for password

    I have set up my ipod touch too use the internet which is sky its been working fine but now when i try it say unable to join network and there is a padlock beside the sky wi fi thing when i tap that it asks for password and i cant remember the password is there anything else i can try

    You can guess the passwoard.  That is all you can do.
    You can enter the router etup and change the password.  You may have to rese the whole router.  Look at/download the manual for the router to find out how to do that.

Maybe you are looking for

  • Resizing online and standby redo log in dataguard setup.

    In 10gr2 dataguard i would like to increase redo logsize from 50M to 100M. on primary standby_file_management=manual added online redo groups with 100M log switched drop old one and readded with 100m deleted log added in step2. same for standby redo

  • Netware Access Point won't connect with Windows, but will connect to Macs

    Recently we acquired Cable Internet Service, which was brought into the X Serve Network Card. After that it is transfered onto the second network card which then dishes out DHCP to all our client computers (including laptops). However, it appears tha

  • X6 -00 8gb folders dont open

    My partner went to open his contacts folder this evening on his X6 8gb and it doesnt respond and now some others wont respond and open either. Also he cant do check in on Ovi Maps and there is no 'Check In' Symbol, which only started tonight as well.

  • 1Z1-146 Oracle 11g: Advanced PL/SQL

    Hi All, have planned to take up 1Z1-146 Oracle Database 11g: Advanced PL/SQL Beta exam by next month. I don't find ample study materials or sample questions online. Can you suggest some resources of study? Did anyone completed the above certification

  • GD Watermark of dynamically called images

    I am trying to get a watermark (png) placed on an image that is being called from a MySQL database.  The issue seems to be in naming the source of the image file. This is the code: $id = $row_WADAimages['file_id']; $query_wat = "SELECT image_file FRO