I've used sudo before successfully, but suddenly it doesn't work anymore! For example, I try setting a shutdown timer using:
Code:
sudo shutdown -h +60
or
sudo pmset disksleep 30
or even just
sudo
and get
Code:
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.
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.
Info: MacBook Pro (13-inch Mid 2010), Mac OS X (10.7.3), Pages worked fine for two years
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,10.0.1.20' (RSA) to the list of known hosts. Permission denied (publickey,keyboard-interactive).
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.
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.
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:
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)
I am trying to install Symfony (a php framework) locally and have installed MAMP.
Symfony asks me to run this command Code: php lib/vendor/symfony/data/bin/symfony generate:project PROJECT_NAME but I get Code: -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.
Even Code: php -v gives Code: -bash: /usr/bin/php: Permission denied I tried to login as root, but still nothing.
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.
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
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.
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' !
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.
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.
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.
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.
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..
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.
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?
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.
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?
Info: iMac (21.5-inch Late 2009), Mac OS X (10.7.3)
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.
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.
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.
Info: MacBook Pro with Retina display, Mac OS X (10.1.x), I would like to receive the receipt
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?
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
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.
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 (192.168.10.132, 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.