Results 1 to 8 of 8
  1. #1
    Sudo not working

    Member Since
    Jun 18, 2011
    Posts
    7
    Sudo not working
    hi.
    in my mac os x 10.6.7 I can't make sudo
    when I try executing sudo I get:

    sudo: can't stat /etc/sudoers: No such file or directory
    Segmentation fault


    Any idea or help?

  2. #2
    Sudo not working
    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,821
    Specs:
    Way... way too many specs to list.
    Did you modify the file?
    mike
    This machine kills fascists
    Got # ? phear the command line!

  3. #3
    Sudo not working

    Member Since
    Jun 18, 2011
    Posts
    7
    I dont think so. I had to perform a "check and repair permissions" and then "check and repair disk" using a Mac OS DVD. I think the problems started after these operations: some applications don't start at all and the present issue with sudo

  4. #4
    Sudo not working
    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,821
    Specs:
    Way... way too many specs to list.
    Sounds like larger issues, have a backup? I'd personally just do a restore of the disk, or lacking a good backup, the OS.
    mike
    This machine kills fascists
    Got # ? phear the command line!

  5. #5
    Sudo not working

    Member Since
    Jun 18, 2011
    Posts
    7
    It's strange. I can start Chrome, Safari and some other apps, but some other don't start at all like Firefox, Thunderbird, TexShop, etc.

  6. #6
    Sudo not working
    claytab's Avatar
    Member Since
    Aug 01, 2011
    Posts
    4
    Question sudo
    I am also having problems working with sudo in terminal.

    I'm trying to copy my php.ini.default to php.ini
    When I open my terminal, I put in all the correct data (see below) but when I am asked for my password, it freezes and the only way i can do anything is to hit enter, all other characters are disabled?? -- Can anyone help??


    Last login: Mon Jul 27 12:43:39 on console
    Maxod-Man-5:~ abbs$ cd /private/etc
    Maxod-Man-5:etc abbs$ ls php*
    php.ini.default
    Maxod-Man-5:etc abbs$ sudo cp php.ini.default php.ini

    WARNING: Improper use of the sudo command could lead to data loss
    or the deletion of important system files. Please double-check your
    typing when using sudo. Type "man sudo" for more information.

    To proceed, enter your password, or type Ctrl-C to abort.

    Password:
    Sorry, try again.
    Password:
    Sorry, try again.
    Password:


    ?? _ what do I have to do ..

  7. #7
    Sudo not working
    EvenStranger's Avatar
    Member Since
    Dec 09, 2010
    Location
    Virginia
    Posts
    844
    Specs:
    Currently 13" Late 2010 MBA, 4GB/128GB; Early 2011 13" MBP, dual core i7 2.7ghz, 4gb ram, 500gb hd
    As far as the comment above goes, the password field won't acknowledge you're typing anything, but it's taking it.

  8. #8
    Sudo not working
    claytab's Avatar
    Member Since
    Aug 01, 2011
    Posts
    4
    Quote Originally Posted by EvenStranger View Post
    As far as the comment above goes, the password field won't acknowledge you're typing anything, but it's taking it.
    thanks for the prompt reply, works fine and I now have php installed

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. please SUDO problem
    By MinecraftWero in forum OS X - Operating System
    Replies: 10
    Last Post: 07-19-2012, 01:51 PM
  2. sudo rm -R (not sudo rm -Rf)
    By TeaHouse in forum OS X - Operating System
    Replies: 5
    Last Post: 10-27-2011, 11:01 AM
  3. Sudo not working
    By MacFor in forum OS X - Operating System
    Replies: 10
    Last Post: 08-06-2010, 09:07 PM
  4. Sudo su
    By dobby in forum OS X - Operating System
    Replies: 2
    Last Post: 11-28-2009, 01:49 PM
  5. Need help customizing sudo
    By Niwrad in forum OS X - Development and Darwin
    Replies: 3
    Last Post: 06-30-2005, 08:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •