OS X :: Sudo Not Working - Permission Denied

Mar 4, 2008

I've used sudo before successfully, but suddenly it doesn't work anymore! For example, I try setting a shutdown timer using:

sudo shutdown -h +60
sudo pmset disksleep 30
or even just
and get
sudo: can't open /private/etc/sudoers: Permission denied
Just typing sudo alone results in the same error.

I've tried searching and following other threads on this topic to no avail. Repairing permissions from disk utility didn't help either.

View 22 Replies


MacBook Pro :: Pages Save Function Not Working / 'permission Denied'

Apr 7, 2012

Using a Macbook Pro and Lion, suddenly unable to save Pages files. Tried verifying and repairing permissions, restarting program and laptop,tested various kinds of files, all say permission denied. unable to save changes also. Useless unless I can save my work.

MacBook Pro (13-inch Mid 2010), Mac OS X (10.7.3), Pages worked fine for two years

View 3 Replies View Related

OS X :: SSH Key - Permission Denied

Oct 26, 2010

I did a clean 10.6 install and forgot to backup the ssh key. Now when I try to ssh into the server i get this:
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'macpro,' (RSA) to the list of known hosts.
Permission denied (publickey,keyboard-interactive).

View 3 Replies View Related

OS X :: Mac Terminal Permission Denied

Jan 16, 2010

I'm attempting to duplicate the functionality exposed by Apple's signature server, by entering (/private/etc/hosts) into the command line of Terminal Bash. I'm doing this to downgrade the firmware in my iphone 3gs from 3.1.2 to 3.0.1. I've been receiving a (permission denied) response for my efforts. I've gone into "Disk Utility and added myself as a "root user". However, that doesn't seem to correct the permission denied issue. Perhaps I didn't correctly add myself as a root user.

View 1 Replies View Related

OS X :: SD Card Not Mount - Permission Denied

Jul 14, 2008

I have this card reader. I have this brand new SD card. When I plug the card reader in and put the SD card in. The card reader blinks the light and then, on my disk utility. All I see is this: So it does not show up on the desktop. It seems I cant mount it. I cant erase it or anything...it says "permission denied" when I try to format it. I have a Mac Pro too.

View 9 Replies View Related

OS X :: SMB Server Configuration - Permission Denied

Oct 7, 2009

I'm trying to configure a mac as a smb server and am encountering numerous difficulties in doing so. While I managed to get around most of them, one remains unsettled. I have my samba server running and what to add new users and passwords. Yet, when I want to use useradd or adduser, neither of the commands are recognized in the Mac OS X 10.6 terminal.

Moreover, the smbpasswd command is either non recognized when using sudo or, when logged in as a root, I get: sh: /usr/bin/smbpasswd: Permission denied
I also tried adding users through webmin, but I can only synchronize does on the Mac and when I want to modify the passwords, I get: Access control violation: Failed to change password using smbpasswd:

How do you add and update smb users on Mac OS X ?

View 1 Replies View Related

OS X :: Permission Denied On Updating Ports?

Dec 26, 2009

I just got a MacBook Pro in November, and I've been having so many problems trying to do command line stuff that it makes me want to cry. Right now I'm trying to reinstall lua because it stopped working right, and I'm trying to install MacPorts to do so. When I tried to run the command: sudo port -d selfupdate, to update the ports like the MacPorts website says to do, I got a couple of permission denied messages and something about "can't find package Pextlib 1.0". So I looked up the Pextlib thing and was following the instructions at this site but when I try to edit pkgIndex.tcl file I get a permission denied message again.

I tried repairing permissions with disk utility, but that didn't work. I ran "ls -lad /" and got: drwxrwxr-t 33 root admin 1190 Dec 26 17:44 /
and I ran "id" and got: uid=501(myname) gid=20(staff) groups=20(staff),204(_developer),100(_lpoperator),98(_lpadmin),81(_appserveradm),80(admin),79(_appse rverusr),61(localaccounts),12(everyone),401(com.apple.access_screensharing),402(com.apple.sharepoint .group.1)

View 2 Replies View Related

OS X :: 10.6. 3 - Trying To Install Symfony Permission Denied

Apr 23, 2010

I am trying to install Symfony (a php framework) locally and have installed MAMP.

Symfony asks me to run this command
php lib/vendor/symfony/data/bin/symfony generate:project PROJECT_NAME
but I get
-bash: /usr/bin/php: Permission denied
now, in /usr/bin/php there is an alias to the location of php which is under MAMP in bin/php5.3/bin and this may be a reason for the error.

php -v
-bash: /usr/bin/php: Permission denied
I tried to login as root, but still nothing.

View 14 Replies View Related

OS X :: Congiguring Mac Ports - Permission Denied

Jul 30, 2010

I'm trying to configure MacPorts to install Wine. According to this site: [URL]. I need to enter the command
echo export PATH=/opt/local/bin:/opt/local/sbin:$PATH$'
'export MANPATH=/opt/local/man:$MANPATH | sudo tee -a /etc/profile
but this just gets me the error message: sudo: can't open /private/etc/sudoers: Permission denied. I only have one account on this computer, so it is an admin account. I'm not really familiar with Terminal.

View 4 Replies View Related

MacBook :: Permission Denied After Changing Short Name?

Mar 12, 2012

i have tried searching for answers but still no luck. im kinda scared mdealing with the terminal but have tried a few but to no avail.

MacBook, Mac OS X (10.4.11)

View 4 Replies View Related

OS X Mavericks :: Permission Denied On Mounted Volume?

Jun 26, 2014

in my office I've a network hard drive mounted volume on /Volumes/guest-share, when I try to open directory I get an error:

"The folder can't be opened because you don't have permission to see its contents" 
imac:/ roccoverrastro$ ls -AOel /Volumes/
total 56
-rw-r--r--@ 1 roccoverrastro  admin  -  6148 26 Giu 00:33 .DS_Store

[Code] .....

View 3 Replies View Related

IMac :: Unable To Ping From One Computer To Other / Permission Denied?

Mar 21, 2009

I have two imac computers networked both running Leopard OS. Mac1 connects to the 2wire ADSL router via Ethernet. Mac2 connects via wireless. Wireless signal is strong. Both computers can connect to the Internet. Both computers can share files with each other. Firewalls set to allow all incoming connection.

Cannot ping from either computer to the other. Error message: Permission Denied. Using the terminal for pinging has the same results. Have not found a solution search the forums. Would like to solve this problem before attempting to add a windows xp laptop to the network.

View 6 Replies View Related

MacBook Pro :: Early 2011: Location Of Hosts - 'permission Denied'

Apr 9, 2012

I was trying to install a software and edit hosts' files in Terminal to finish the whole process. However I can't find the location of hosts even searching on the net. I tried to put /etc/hosts and /private/etc/hosts/, they were 'no such file or directory' and 'permission denied' !

Mac Pro, Mac OS X (10.7.3), early 2011

View 6 Replies View Related

OS X :: Permission Denied Message When Mounting External Drive In Single User Mode?

May 4, 2010

my MacBook Air wouldn't boot up. After booting from the Install DVD and running disk utility, it said that there was a problem with the internal hard disk drive and that it needed to be reformatted and OS X reinstalled. I am now trying to backup some of my files onto a 1TB external hard disk drive using single user mode.

View 3 Replies View Related

Hardware :: Can't Format Usb Flash Drive - "permission Denied"

Jul 29, 2009

The problem is when I put my 4gb flash drive in, the computer doesn't recognize it and doesn't show up on the desktop. So I go into Disk Utility and try to format it to maybe fix it that way, but when I try to, it says format failed, permission denied.

View 6 Replies View Related

Software :: Using Sudo - Password Not Working

Jan 22, 2009

i'm trying to install a program i got for free onto my macbook pro.

i have to go to my applications > utilities > terminal

i then open up a new command line and enter this:

sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts

then it asks for my password and i type in my password for my computer, the only password i have ever had for this computer, and the password that authenticates all of the system changes.

View 2 Replies View Related

OS X :: Cannot Run Sudo Command In Terminal

Nov 29, 2009

I can't seem to run a sudo command in the OS X terminal. Every time I run a sudo command, I get no response, as if the command is not run at all. My sudo appears to be broken somehow. I've got a problem with mounting an NTFS drive that is dirty. I have a command I am trying to run using the "sudo" command, but it is not working.

Code: sudo /usr/local/bin/ntfs-3g /dev/disk0s3 /Volumes/WIN XP -o force

After the sudo, I am prompted for my password, but after that the only response I get is another prompt, as if the command was totally ignored. I have tried many different commands after the sudo, and cannot get a response from anything. I even tried "sudo tcsh", which should open up a new shell, but nothing. "sudo ls" also shows nothing, just another prompt.

View 11 Replies View Related

Software :: Terminal Cannot Run Sudo

Jun 7, 2010

I open up terminal, this shows up Code: Last login: Mon Jun 7 23:46:54 on ttys001
-bash: sdkfolder: No such file or directory xxxx-xxxxxs-MacBook-Pro:~ xxxxxx$ why is that -bash line in there?Also, I cannot run 'sudo' at all. I'm on an Admin account, and I have enabled root permissions..

View 4 Replies View Related

OS X :: Sudo Root Not Accepting The Password?

Sep 11, 2009

Ok so opened Directory Utility, unlocked it and then selected Enable Root User and set a password, locked Directory Utility opened terminal and typed sudo root.

When I entered the password I set I just get "Sorry, try again". Have tried going back into Directory Utility and changing the password but get the same thing.

View 3 Replies View Related

OS X :: Can Use Sudo Rm -rf On Read-only File System

Apr 24, 2010

I am trying to delete some files with the command "sudo rm -rf". I get the return message "read-only file system." I am log in as adim and I don't have the option of changing it to a write file in the "get info" tab. How is it possible to delete these files?

View 22 Replies View Related

OS X Yosemite :: Sudo Command Missing From Terminal App

Dec 3, 2014

Here is a screenshot that shows missing sudo command.  How do I restore it?  I am not a linux expert...

MacBook Pro with Retina display, OS X Yosemite (10.10.1)

View 3 Replies View Related

OS X Yosemite :: Sudo Fails Even With Seeming Correct Permissions?

Dec 3, 2014

When I try to sudo from Terminal, I get: media:~ frank$ sudo su -sudo: unable to stat /etc/sudoers: Permission deniedsudo: no valid sudoers sources found, quitting However, I can cat /etc/sudoers and see the content of the file. I'm a member of the admin group.

Mac mini, OS X Yosemite (10.10.1)

View 3 Replies View Related

MacBook Pro :: SUDO Command - How To Remove A User Using Terminal

Mar 30, 2012

So I just inherited from my coworker's MacBook Pro. I then decided to transfer all of my files and realized that the root folder was still on his name. I changed the User's name in "System Preferences" but that did not change the root folder's name. I then went to Terminal and tried to change the folder's name using the "mv OldFoldersName NewFoldersName"  and the prompt said Permission denied. I then used "sudo mv OldFoldersName NewFoldersName". After restarting my computer, all the files were gone and I landed on a "LION first time USE" type of Desktop. All my files are gone and terminal shows me two users' names under /Users/ => OldUser and NewUser.

What can I do to recover my old files? What can I do to repair my Mistake and only have one User?

iMac (21.5-inch Late 2009), Mac OS X (10.7.3)

View 3 Replies View Related

OS X V10.7 Lion :: Sudo Command Requires A Non-blank Admin Password?

Jul 1, 2012

After entering 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.

MacBook Pro, Mac OS X (10.7.4)

View 1 Replies View Related

OS X V10.6 Snow Leopard :: Cannot Inherit Backups As Sudo Tmutil Not Found In Terminal

Feb 11, 2012

I get a "sudo: tmutil: command not found" message on terminal when I am trying to inherit backups as per the fantastic instructions on the website by pondini. What does it mean and how can I correct it? 

My old backups on time machine are not highlighted on time machine so cannot restore them. This is either because I have restored the OS or repaired the external HD used for backups.

MacBook, Mac OS X (10.6.8)

View 8 Replies View Related

ICloud On Mac :: How To Set Up Password - Denied

Dec 9, 2014

how to set up my password with iCloud and it allow to use it, that I tried it so many times but it still denied. I did not know to turn on iCloud?Because that, I had problem with my password.

MacBook Pro with Retina display, Mac OS X (10.1.x), I would like to receive the receipt

View 1 Replies View Related

OS X :: Cannot Install Perian - Permissions Denied

Jan 2, 2010

So I decided to install Perian today on my SL 10.6.2. I ran it and it created an icon in the Pref Pane, but when I clicked on the icon and then hit the Install button, nothing happened. I tried it several times and even restarted my MBP, but still nothing. I then tried opening Console to see what happens when I hit the Install button in Perian, and I saw several msgs saying Permission Denied.

What the heck is this? I've already experienced some permissions issues lately when I tried to copy mp3s onto my USB key, so I ran the OnyX maintenance just yesterday - but to no avail. I still can't copy most of my mp3s onto USB. And I don't really see a reason why I should repair permissions once again today just because of Perian? I really don't get this Mac OS permissions crap. I am the only user on this computer and am therefore an Admin, so what is all the fuss about permissions?

View 7 Replies View Related

OS X V10.4 :: File Sharing Privileges Are Denied?

Apr 6, 2012

I have 2 macs hooked up on a verizon wireless network. Got a new mac mini with Lion when my "old"  Imac Intel core dou with tiger stopped working. However I had it repaired and now have both sharing the same wireless network.Since old Mac was online previously it is set now as the administrator. Don't know if that is the problem but file sharing privileges a denied and Iv'e tried everything

iMac, Mac OS X (10.4.3)

View 5 Replies View Related

Software :: Connection Failed - Access Denied

Jan 10, 2009

We recently installed a mac pro running serverX 10.5.6.(2x3.2 Quad Core Intel Xeon, 16GB 800 MHZ.) I was able to connect to the server from my imac (leopard) and use ARD (V3.2.2) with no problems. Now, since I had shutdown the server for about a week I started it up the other day I am now unable to access it thru our network. On my IMac I try to access using ARD the server lists: "Access Denied". Using GO-Connect to Server I get the message "Connection Failed The server may not exist or it is not operational at this time. Check the server name or IP and your network connection and try again."

I can ping the IP address from my imac. The server is able to access the internet, so I know it's not my network. I have used Disk Utility (on the server) and reset the permissions. After hours on Apple's site and googling I am at a loss. I'm thinking it has something to do with access permissions or something got tweaked at startup (no startup progs in Accts login window) after I turned the unit off for over a week.

View 1 Replies View Related

Software :: Access Denied Error - URL Could Not Be Found

Oct 15, 2010

I am on a ship using a proxy server from our ISP to connect to the internet via a V-SAT satalite dome. We all have individual accounts and the guys using PC's have no problems connecting to the internet. My account also works on a P.C. However whenever i try to connect to the internet I get an Error message 403 "the following URL could not be found" "access denied". However if I disable my proxy settings reconnect to the internet then re-enable my proxy settings I am able to get on line but only for a minute or two then I get the message again. Switching off my proxies then on again always gets me on line but only for a very short period (30 secs to a minute ish).

There has been an occasional time when I have been able to access the internet for longer but only when there has been 3 or 4 people on line and browsing at the same time. I have spoken to my ISP and he thinks I may have been piggy backing onto someone elses account but was unable to offer any other advice and referred my case to someone else and I am still waiting for their response. I am running a mac book pro on snow leopard 10.6.4, using firefox (have the same problem with Safari) with proxy set to "use system settings" and my network preferences set with the given proxy server settings (, port 3128). I have the same problems using WiFi or cable also.

Other info: my IP address stays the same. Although my cable IP is different from my wifi address. IPv6 is set to automatic. I think the problem lies with my mac as my given user account works on PC computers ( which I am using now!). Also there are 3 other guys with mac books who have also had the same problems although they are now at home. I have also tried changing to a guest account with similar problems although I cannot change proxy settings.

View 2 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved