Hot answers tagged


I get the key symbol when running read -s in Terminal. As this seems to work the same for read -s as for sudo, I assume this is a feature of Terminal (to display a key symbol whenever input is requested in silent/hidden mode).


An administrator can change your login password without knowing the old password. The is no way for anyone to change a keychain password without knowing the old password. Normally your login password is the same as the keychain password. For you to change your login password, you need to enter the old password and new password. After the software changes ...


The simplest answer is just write the script without sudo then tell the user to run it with sudo e.g. sudo script the script will run with root privileges `this has the advantage that the user knows what asks for and where the password is used, if in your script you could be taking a copy or leaving it in memory


Q1: Yes, it looks like someone entered your Apple ID and password. I don't think there's any other situation where this type of dialog would be triggered. Q2: You did the right thing in immediately changing your password. There's nothing you can do to get more info on who is using your ID, you did everything I would've suggested. My only remaining advice ...


I'm not too sure as to what caused the problem but all you need to do is go to: Settings>General>Reset>Reset All Settings This will result in losing all the wifi passwords you connected to but you can just retype them. Then just update or download something (that's free of course like an already purchased app or an update), type in the password, ...


I've ignored it many times and true to its word, it modally forces you to change the password. You can lock/sleep the device, but if you want to do anything useful, you have to change the password first.


As a proof of concept, I formatted a USB Thumb-drive using a GUID Partition Map and formatted it Mac OS Extended (Journaled) naming it "Encrypted". Then in Finder, I selected the disk named "Encrypted" and control-clicked selecting Encrypt "Encrypted"..., while setting its password to "password". When it was done encrypting, using Terminal, I ascertained ...


sudo allows you to run a command at an elevated permission level. You can edit the sudoers file by running sudo visudo One way to do this is to first add a line to your sudoers file which allows the listed commands to be run without a password. By adding the specific command to your sudoers file, you can allow the desired commands to be run without ...


I had to do the following steps in order to make it work. # Change working directory cd ~/.ssh # Remove the old public key rm # Create a new public key ssh-keygen -y -f id_rsa > # Change permission chmod 600 id_rsa* # Add the key to ssh ssh-add id_rsa # Then finally test it (I used github) ssh -i The ...

Only top voted, non community-wiki answers of a minimum length are eligible