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
ADVERTISEMENT
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
Dec 3, 2014
Here is a screenshot that shows missing sudo command. How do I restore it? I am not a linux expert...
Info:
MacBook Pro with Retina display, OS X Yosemite (10.10.1)
View 3 Replies
View Related
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?
Info:
iMac (21.5-inch Late 2009), Mac OS X (10.7.3)
View 3 Replies
View Related
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.
Info:
MacBook, Mac OS X (10.6.8)
View 8 Replies
View Related
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:
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.
View 22 Replies
View Related
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
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
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
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.
Info:
Mac mini, OS X Yosemite (10.10.1)
View 3 Replies
View Related
Oct 20, 2009
Anybody see this before? I opened up Terminal.app and the window is completely blank. There is nothing in it whatsoever. Looks as if bash never started. The title bar simply says "Terminal — login — 80x24". I can type whatever I want in the Terminal window like it's a text document and nothing happens. If I restart the computer, this seems to fix the problem, but it seems to only be a temporary fix as the issue happens again soon after.
View 1 Replies
View Related
Jan 26, 2010
I'm trying to do something in terminal, and it asks for my password. I press a letter on my keyboard, and nothing appears. I am in the right window and everything, terminal just doesn't react to my typing. However, when I click enter, it says 'Sorry,try again'. So it does react to the enter key.
View 3 Replies
View Related
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.
Info:
MacBook Pro, Mac OS X (10.7.4)
View 1 Replies
View Related
Jan 29, 2008
I'm running Symantec Backup Agent on our mac osx server. I start the agent in the terminal (./agent.be). It returns a notification that it started the service, however, it doesn't return to the prompt. Closing the terminal gives a warning that the process will be closed if the terminal is closed. Closing it does kill the process. Ctrl+c to return to the prompt also kills the process. So it's as if once the process is started in the terminal, nothing can be altered.
I am not much of a mac guy so please forgive me if this is a stupid question.
Anyone have any advice on how to handle this so the process is ALWAYS running?
View 2 Replies
View Related
Aug 19, 2010
I'm on a standard user account and I would really like to install icalbuddy which is a terminal app. When I install apps normally I simply have to provide a admin name and pw, but this doesn't work when it is a terminal app because it requires that the 'su' command be run.
So I thought that I could run terminal as admin through 'su - admin' and then install. But of course the admin account doesn't have access to the user folder where the installer is located. I just can't win.
View 3 Replies
View Related
Feb 2, 2010
when i try to open terminal it says this
the application "terminal" is not allowed "terminal is not on the approved list of applications. contact the person who set up you accout for more info
anyone know how to make it allowed?
View 1 Replies
View Related
Mar 31, 2010
I do not have a password set on my MBP, but anytime that I have to sudo anything in Terminal it asks for my password. If I just leave it blank like at login, it says the password is incorrect. I have to do is set up a password use it in Terminal then I remove it afterwards. This is very annoying. Is there any way that I can do this without having to set the password every time?
View 24 Replies
View Related
May 21, 2012
While messing around with iPhoto and Time Machine, I ended up in the following situation. When trying to open Pictures on the sidebar of Finder, a Terminal shell pops up on the screen. Similarly, if I try to open Pictures on a Time Machine screen, I get the message "Open with Terminal" Now, I don't know how to use Terminal. How can I come back to the anterior situation where I could open Picture jut by a click?
Info:
iMac, Mac OS X (10.7.4)
View 14 Replies
View Related
Feb 25, 2009
What is terminal used for ? Can i use to to do cool things ? Is it like the equivalent to the run menu in windows ?
View 10 Replies
View Related
Oct 2, 2009
i was using Terminal earlier and noticed that it was showing my mac as the attached screenshot.
Why is it mentioning "lizzie-pc" in the window? That is the computer name assigned to my mum's laptop, which is hibernating in the next room. 'tejaykay' is my Mac's short name.
View 2 Replies
View Related
Dec 5, 2009
I'm trying to change MTU settings in my router using terminal MacOs 10.5.8. eMac 1GHz.All goes well till I get to saving settings. "saveall" or "SaveAll" I get "Invalid interface name specified"It's probabably not saving settings.
View 3 Replies
View Related
Jan 2, 2011
my terminal isnt working on my mac that is running 10.6.5 when i start it up it shows an empty window when it should show a window that says something like this"
Last login: Sat Dec 17 14:08:02 on ttyp2
Welcome to Darwin!
h460db012:~ markyoung$
but my mac upstairs with a hard drive that is broken shows text like that running 10.4.11
View 7 Replies
View Related
Jan 30, 2009
I tried to install Mac OS X on a thumb drive which is 8 gb. I followed the instructions on this website: [UrL]. When I tried to make it bootable in the terminal, it said No volume specified. What should I do?
View 1 Replies
View Related
Apr 20, 2009
I am in Terminal, trying to enable PHP. I have found
#LoadModule php5_module libexec/apache2/libphp5.so
but I cannot delete the # sign. When I highlight the # and press delete, nothing happens, but I can delete other letters in this window. Is there another way to enable?
View 5 Replies
View Related
May 20, 2009
for some reason terminal is no longer in the utilities folder. I can't find it with spotlight either. But now I want it back. So how can I do this. I've got 1 mac os 10.5 install disc for my iMac. and 2 extra discs called install disc. I tried installing the optional things and basics. But still no terminal. So how can I get terminal back.
View 1 Replies
View Related
Jun 21, 2009
I dropped my laptop and the 1 control key is the only key broken and its now impossible to use the terminal for anything anymore. Is there a way i can remap the control key to something else within terminal?
View 2 Replies
View Related
Sep 30, 2009
Can anyone tell me what this "*" means beside mathematica and mathkernel? I'm using snow leopard.
View 5 Replies
View Related
Mar 5, 2010
Simple request and for some reason my google-fu is failing me. How do I change the volume (drive not audio) in the Terminal app in OS X. I am using SL.
View 24 Replies
View Related
Mar 21, 2010
It was working fine until yesterday, and now when I open it, all I get is a blank screen, and it's stuck at "Login", and I can't use it. What happened, and how can I fix it?
View 13 Replies
View Related
Jun 10, 2010
I`m new in Mac Os world. I need to start ssh from terminal in new terminal window. I don`t have xterm and realy i don`t see how can I do this.
View 8 Replies
View Related