Sudo command broken! (UNIX people-- please help a stupid newb :(  )

To talk to unix people, go here:
http://discussions.apple.com/forum.jspa?forumID=735

to fix an that app's perms usually this works:
sudo chmod -R =rw,+X /Applications/VirtueDesktops.app
or
sudo chmod -R =rw,+X,g=u /Applications/VirtueDesktops.app
a. This returns all files in the app to their usual UNIX defaults.
b. Some apps will require r/w permissions on the group to function.
c. All OS X apps should bear admin (80) as the group ID
d. Some apps require owner be set same as user, most like owner set as root.
Snow Leopard's Sudo visiblepw flag is no longer set as it was in 10.5.x
The "visiblepw" option must be entered into the Defaults
section of the /private/etc/sudoers file in order to allow
sudo to run in 10.6 when a tty is not allocated. From the
sudoers manual:
"visiblepw
By default, sudo will refuse to run if the user must enter a password but it is not possible to disable echo on the terminal. If the visiblepw flag is set, sudo will prompt for a password even when it would be visible on the screen. This makes it possible to run things like "rsh somehost sudo ls" since rsh(1) does not allocate a tty. This flag is off by default."
Using visudo, Add the line "Defaults visiblepw" to the Defaults section of the /private/etc/sudoers file and the following error message will no
longer appear:
sudo: no tty present and no askpass program specified
A valid workaround is to use the
"-S" (capital S) option with sudo.
I noticed you used su with sudo, that is not cool.
Kj ♘

Similar Messages

  • People Please help, I forgot my security questions answers but I know how to reset them but the problem is my rescue email is not longer used ( DELETED ) so what can I do please help me

    People Please help, I forgot my security questions answers but I know how to reset them but the problem is my rescue email is not longer used ( DELETED ) so what can I do please help me??????????

    EZZTHEKILLER wrote:
    is there any other way ...
    Not in your case.
    EZZTHEKILLER wrote:
    I forgot my security questions answers but I know how to reset them but the problem is my rescue email is not longer used ( DELETED )

  • Java command still not working - please help

    i have installed jdk1.6.0_05. The javac command works fine but the java command does not work at all. even when i try java HelloWorld i receive this exception message
    Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld
    Caused by: java.lang.ClassNotFoundException: HelloWorld
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    please help (you to SUN)!!

    bart@kerberos:~$ javac -help
    Usage: javac <options> <source files>
    where possible options include:
      -g                         Generate all debugging info
      -g:none                    Generate no debugging info
      -g:{lines,vars,source}     Generate only some debugging info
      -nowarn                    Generate no warnings
      -verbose                   Output messages about what the compiler is doing
      -deprecation               Output source locations where deprecated APIs are used
      -classpath <path>          Specify where to find user class files and annotation processors
      -cp <path>                 Specify where to find user class files and annotation processors
      -sourcepath <path>         Specify where to find input source files
      -bootclasspath <path>      Override location of bootstrap class files
      -extdirs <dirs>            Override location of installed extensions
      -endorseddirs <dirs>       Override location of endorsed standards path
      -proc:{none,only}          Control whether annotation processing and/or compilation is done.
      -processor <class1>[,<class2>,<class3>...]Names of the annotation processors to run; bypasses default discovery process
      -processorpath <path>      Specify where to find annotation processors
      -d <directory>             Specify where to place generated class files
      -s <directory>             Specify where to place generated source files
      -implicit:{none,class}     Specify whether or not to generate class files for implicitly referenced files
      -encoding <encoding>       Specify character encoding used by source files
      -source <release>          Provide source compatibility with specified release
      -target <release>          Generate class files for specific VM version
      -version                   Version information
      -help                      Print a synopsis of standard options
      -Akey[=value]              Options to pass to annotation processors
      -X                         Print a synopsis of nonstandard options
      -J<flag>                   Pass <flag> directly to the runtime systemSee the bold part.
    More information: [http://java.sun.com/docs/books/tutorial/java/package/managingfiles.html]

  • Premium Mail link broken for months - Please help

    I have been trying to upgrade to Premium Mail (as per many of the other posts I read on here)
    Every time I click on the Premium Mail link it tells me the page is broken. Thsi has been happening for a long while now. I can't find any way of doing it on Yahoo Mail website either. This is driving me nuts. I just want to keep my email address. We have already cancelled our broadband with BT since my boyfriend moved in and we consolidated phone lines.
    Please help.
    Heather

    Your only hope is to contact Yahoo, as BT will have no more involvement as you are not one of their customers any more.
    See http://io.help.yahoo.com/contact/index?locale=en_US&y=PROD_MAIL&page=contact
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Can't Instant Message Certain People - Please help

    I am unable to IM two people on my buddylist. When they IM me it says I have an IM but nothing pops up. When I click the window tab- it shows a few screen names. Now when I got to click those certain screen names on my buddy list to have a conversation- nothing pops up. These people are not blocked, although I have tried blocking and unblocking them to see if it had any affect. The only way I can communicate is by inviting them into a chatroom. Also files can't be sent between me and these people.
    I've already uninstalled and reinstalled iChat.
    *Please help*.

    Defcom listed the 10.5.6 Combo Update.
    Your specs say you will need the 10.4.11 Combo Update
    PCC Combo
    Intel Combo
    9:59 PM Sunday; January 25, 2009

  • Please help!! Newbie here really need help. Numlock, divers, backup, recovery disk

    Hi everyone
    I finally found where to post
    I really wish someone could or would help me
    I have a lenovo g550 for about 4-5 years And I was happy with it
    few days go I cleaned installed windows Ii got a friend to help infests he put it on the d drive then c drive And c drive gainsaid he formatted my d drive chlorinating on therein was a real unswayable I kind of sorted it out. And I learnt a lot bout the oem partitioning deleted that though. Can someone tell me If I can boot or recover my previous vista from there.?
    If not its fine but then I would like to know is can I change the oem partition with the image or recovery (whatever you call it) of the new windows  7 or how to go about creating a recovery disk.
    After installing the new windows my PC seems to be fine but I don't know If I kept all the drivers And whatever goes with it. What are all the drivers I need And where do I find If I have them or not. I am not really worried about my data as I want to start fresh.
    Another thing I noticed is my number keypad stopped working all of a sudden. When I press the numlock button it beeps and the light does go on and off. When its on it doesn't give me numbers e.g... If I press 5 it actually highlights where the cursor is.
    And my mouse/trackpad is not the same as it was before. When I had vista on the right of the trackpad I could use it to scroll up and down and the bottom of the trackpad allowed me to scroll left to right. This function is no longer there. I have to use the arrows to go up and down.
    Somebody please help as I do need my laptop for work purposes.
    THANK YOU IN ADVANCE!!!

    hi any drivers you should need you should be able to get through support drivers&downloads link at top of this sites page bud you could use partition magic to clear all partitions and create new multible one if you wish the rest wait till after you put drivers in and see if probs still exist bud

  • Commands driving me NUTS - please help

    Got this to work - but ONLY with numbers. I need to be able
    to insert text -
    How/what am I doing wrong????
    I CANNOT find any adobe help (detailed) on how to write
    proper commands - am
    I blind?
    Helle - WithLotsOfGreyHairNow
    <%
    If (Request.Form("Kategori")="") Then
    Response.Redirect "Pro_Kat_Pick.asp"
    end if
    %>
    <%
    If (Request.Form("Kategori") <> "") Then
    set ComInsertKat = Server.CreateObject("ADODB.Command")
    ComInsertKat.ActiveConnection = MM_connHK_STRING
    ComInsertKat.CommandText = "INSERT INTO T_Kategori (Kategori)
    VALUES (" &
    Request.Form("Kategori") & ")"
    ComInsertKat.Execute()
    Response.Redirect("Pro_Kat_Pick.asp")
    end if
    %>

    Helle wrote:
    > Got this to work - but ONLY with numbers. I need to be
    able to insert
    > text - How/what am I doing wrong????
    > I CANNOT find any adobe help (detailed) on how to write
    proper commands
    > - am I blind?
    >
    >
    > Helle - WithLotsOfGreyHairNow
    >
    >
    > <%
    > If (Request.Form("Kategori")="") Then
    > Response.Redirect "Pro_Kat_Pick.asp"
    > end if
    > %>
    > <%
    > If (Request.Form("Kategori") <> "") Then
    > set ComInsertKat = Server.CreateObject("ADODB.Command")
    > ComInsertKat.ActiveConnection = MM_connHK_STRING
    > ComInsertKat.CommandText = "INSERT INTO T_Kategori
    (Kategori) VALUES ("
    > & Request.Form("Kategori") & ")"
    > ComInsertKat.Execute()
    > Response.Redirect("Pro_Kat_Pick.asp")
    > end if
    > %>
    Dreamweaver CS3 has issues with Commands, whenever I try to
    use them it
    crashes. The way I got around it was to use stored
    procedures, and then
    use a Recordset to pass the details to it. Works perfectly.
    Steve

  • GONE FROM DEVICE NOT CONFIGURED TO BROKEN MACHINE. PLEASE HELP!

    HELP!!!!!!!!! PLEASE!!!!!!!!!!!!!
    I read a post in response to a query from someone who I had similar issues to and copied these items;
    /System/Library/Extension.kextcache
    and
    /System/Library/Caches/com.apple.kernalcaches/
    to my desktop, removed them from their folders and restarted. Well, tried to restart.
    The grey screen came up with the spinning gear and apple logo, then black text over laying that saying something about a stack error. I can't start my machine at all, not even from the OSx disk. It gets to Preparing Installation and keeps on spinning!
    If any one can help I'd be eternally grateful. I can't believe this has happened!
    Cheers
    Kirstin

    You would have to boot in single-user mode, mount the filesystem and copy the files back into the extensions fiolder. I'm not going to type the whole procedure out here but some Googling will get you the exact instructions.
    If you have your OSX installer disk "System Restore" might fix it. If not, there is a Terminal application on the Installer disk that would be easier to use than Single-user mode.
    In any case, you are really dealing with one file since the cached file is probably irrelevant.

  • Broken dash? please help

    I use my dashboard all the time, primarily for its useful translator. However, I tried to translate some English into chinese, and now I can't even switch the bottom language. It's completely broken and I would love it to be fixed w/out reinstalling the OS. help?

    As it appears Apple licensed the widget to be used with Mac OS X from Systran, you might get better support from the makers of the widget's search engine:
    http://www.systransoft.com/translation/translation-products/desktop/systran-home -translator

  • Broken Iphone? Please help

    I was using my iphone 4 and the screen went black and won't restart. I've already tried to reset it with many different methods. I then tried plugging it into my computer and its not being detected. Every few minutes the apple logo will pop up but then go away. HELP PLEASE!
    Thanks in advance.

    Standard troubleshooting...
    Try a Restart by pressing the sleep/lock button until you see the slider.  Slide to power off.  Restart by pressing the sleep/lock button until you see the Apple logo.
    Try a Reset by pressing the home and sleep buttons until you see the Apple logo, ignoring the slider if, it comes up. Takes about 5-15 secs of button holding and you won't lose any data or settings.
    If still a problem restore with your backup.
    If still a problem restore as new, i.e. without your backup. See how it runs with nothing synced to it.
    If still a problem, it's likely a hardware issue.  <---- most likely problem, IMO.

  • Windows scripts broken? Someone please help me

    Prior to upgrading to v9.2.0.61 windows scripts worked great in itunes. Since the upgrade, I consistently get the following error - regardless of what script I run. Can anyone shed some light on this, please?
    Script: c:\users\clayton\desktop\NewAppendToComment.js (doesn't matter what folder it's in)
    Line: 8
    Char: 1
    Error: Could not locate automation class named "iTunes.Application".
    Code: 80020009
    Source: WScript.CreateObject

    Sounds like you might need to reinstall. Scripting is working fine for me with iTunes 9.2.
    tt2

  • PEOPLE please help!!!!!!!!

    I have a SB Audigy 2 NX, it works great in Vista, but the driver posted on the driver section is not complete. The one in XP is much more complex. The one in vista doesn't support the remote control for example. And another very big complain: Even in XP I have a very big dissapointment - there is an option, to activate the noise reduction, but it doesn't work only with the media source. What's that all about? Why doesn't Creative just addmit that Winamp is better and a lot easier to use, I spent 40 minutes to add all my music into the library. I would like to use the noise remover option?for any sound!!! Please tell me anyone, can I make at least the remote control work in vista?

    EZZTHEKILLER wrote:
    is there any other way ...
    Not in your case.
    EZZTHEKILLER wrote:
    I forgot my security questions answers but I know how to reset them but the problem is my rescue email is not longer used ( DELETED )

  • Tech savvy people please help!

    ok, so i'm going to be starting my architecture classes soon and the school has given me a list of hardware requirements for the computer that i need to have. they reccommend that i get a DELL with the specs i'm about to list, but i really really really want a macbook pro! so here's the list:
    Hardware Requirements
    Desktop or Laptop Workstation with:
    -Intel Core 2 Duo 2.5 GHz Processor, minimum (Celeron processors not recommended)
    -4 Gb MB RAM minimum; (for rendering and 3D applications, more RAM is preferred)
    -512 Mb AGP Video Controller
    -160 Gb or larger internal hard disk.
    -DVD and DVD-RW dual drives, DVD/DVD-RW combo drive on a laptop is a good choice.
    -100/Gigabit Ethernet connection, and Wi-Fi Network card (these are now built-in on most laptops)
    Now i know for sure that the macbook pro has an intel core 2 duo 2.5 ghz processor, and i can get it with 4gb of ram, and i know it has way more than 160 gb of space on the hard disk. and of course it has the dvd/dvd-rw drive and the ethernet port and airport/wifi card. but i have NO IDEA what a "512 MB AGP Video Controller" is. I tried to google image search it but the pics just looked like a bunch of internal parts... so does the macbook pro have this "512 mb agp video controller" inside? or if it doesnt, is it something that can be plugged in and used via the expresscard slot? and if it can be plugged into the card slot, will it work in bootcamp mode: Windows XP (which they're making me use for autocad ugh.. :/)?
    somebody please reply soon, i really dont want an ugly DELL with only windows on it.

    Yes the MBP with the 2.53 GHz proc will meet all your needs. It comes standard with 4GB RAM and 512 dedicated video card. The video card will work in the windows virtual environment.

  • Hi people,please help! iphone playing up!

    hi peops
    i have an iphone 3GS and its playing up....ie: when texting i get multiple letters and sometimes a tab comes up with different forgien letters,if i press delete it will mostly delete my message if i dont quickly press another letter or the space bar but then if i press the space bar i will get a full stop and have to delete that,bit of a pain and im starting to go mad! its not just the text it happens on the apps too,as if i have held down an APP to delete it so it wiggles but i havent held it down,sometimes the screen will lock up altogether and i have to restart the phone holding down both buttons for the 11 seconds as advised,also,the apple shop told me to back up and do a restore as it sounds like just a software issue,ok,i tryd that,my iphone has the latest update and is not due again until 1st sept!
    i dont have applecare or insurance
    i cant upgrade til may 2012 and a fast track to the iphone 4 will cost me £185
    has anyone got any idea what it could be????
    MANY THANKS

    It will wipe out the iphone and restore it to factory settings, your contacts should be on your mac/windows address book (anyway you should have a backup or a copy of your contacts) from where itunes take them to sync or in mobileMe if you have a suscription, your music and apps should be stored in your itunes. So you will have to reconfigure the iphone again (i.e. choose the music and apps you want to sync with your iphone, configure wifi setttings, configure email accounts, etc.) Some work to do here! but after your iphone should be working normally.
    Just make sure you sync your iphone with itunes before doing this it will copy apps and music you bought lately to your computer.

  • Broken iPod. Please help!

    Well, I have had my iPod for about 3 years, it is a 4th generation non-video 40 GB. One day it just stopped working, and now it does not play any songs. when I turn it on it makes this odd whirring sounds that computers make when they try really hard to do something. I cannot charge it, and it is not recognized by iTunes. Also when I turn it on, I get the apple.com/ipod/support (or whatever it is) screen. Needless to say, my warranty is expired, and so I cannot do anything for it except get a new battery, or buy a new one. Is there any way to fix this problem, or anyone out there who is experiencing the same thing?

    You may find something useful in this post.
    http://discussions.apple.com/message.jspa?messageID=2369954#2369954

Maybe you are looking for