John Matthew <> wrote:
> I did notice that every time when I typed in the second alpha-numeric or
> special character of my password, there was a brief flash on the word
> Edit in the Terminal menu bar. Has my computer been hijacked?
I doubt it has been "hijacked". More likely that some setting or third
party software is interfering with you typing the password.
That flash indicates that the key you typed triggered a command in the
Edit menu, so it probably wasn't being entered as a character in the
password.
Are you able to type that specific character in another context within
Terminal, e.g. at the normal shell prompt?
I will assume that produces the same flash of the Edit menu, and the key
isn't actually typed. You need to establish why that is happening.
Are you able to type that specific character in other applications?
Some possibilities:
1. System Preferences > Keyboard & Mouse > Keyboard Shortcuts.
Check for any unusual keyboard shortcuts referencing that key, possibly
specific to the Terminal application, or globally.
2. System Preferences > Speech > Text to Speech > Speak selected text
when the key is pressed.
If this option is enabled, click the Set Key button and check that it
isn't set to something in your password. On two computers I've seen this
somehow get set to an easily typed letter, preventing that letter from
being used normally. You can't use System Preferences to set an
unmodified character for this feature, so something else must have
modified the appropriate plist directly.
(This would have a system-wide effect, so doesn't seem likely in this
case.)
3. Some third party product which is reacting to that key and generating
a different keypress instead.
There could be other explanations.
> >Perhaps the account from which you're attempting to use sudo does not
> >have administrative privileges? Another possibility is that the file
> >'/etc/sudoers' has gone missing or is corrupt.
>
> yes account has admin privileges
> how do I restore or correct the /etc/sudoers file - see earlier in the
> post - I tried to access the file and was denied access with password
Use a different tool to access it. TextWrangler (free) can open files
with root privileges after you authenticate as an admin user.
I expect you will find that /etc/sudoers is fine. The problem is
whatever is preventing you typing your password in Terminal.
> I changed password in system prefs/accounts and terminal will not take
> the new password either - the admin account is being denied access and
> there is only that one account on this computer
Create another admin account and try that.
--
David Empson