Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Sudo command-it has a small key icon behind it and prevents me from entering the password

As I stated in the title, thanks in advance!

MacBook Pro (Retina, 13-inch, Mid 2014), OS X El Capitan (10.11.5)

Posted on Jun 6, 2016 1:49 AM

Reply
5 replies

Jun 8, 2016 5:00 PM in response to mikexr

mikexr wrote:


I am quite familiar with su. Having the same issue. This didn't start until i did the upgrade to El Capitan. I am the administrator on my mac and it fails when i enter my password. is there some setting somewhere that i need to set now. I need to get to syslog and can't because i can't run sudo

'su' by itself need the 'root' account password, but by default OS X disables 'root' account logins, as it is a serious security risk on any Unix platform.


'sudo' takes the current user's password, assuming the current user is an administrator.


If you are not logged in as an administrator, you can use


su admin_users_shortname -c 'sudo command arguments'


As to why you cannot run 'sudo', we would need to see error messages that you are getting. Also if your account is part of the '80(admin)' group

id -a # and look for '80(admin)'

Sudo command-it has a small key icon behind it and prevents me from entering the password

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.