New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

Sudo not working


Post Reply New Thread Subscribe

 
Thread Tools
buligjigandi

 
Member Since: Jun 18, 2011
Posts: 7
buligjigandi is on a distinguished road

buligjigandi is offline
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?
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
Did you modify the file?

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
buligjigandi

 
Member Since: Jun 18, 2011
Posts: 7
buligjigandi is on a distinguished road

buligjigandi is offline
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
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
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!
QUOTE Thanks
buligjigandi

 
Member Since: Jun 18, 2011
Posts: 7
buligjigandi is on a distinguished road

buligjigandi is offline
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.
QUOTE Thanks
claytab

 
claytab's Avatar
 
Member Since: Aug 01, 2011
Posts: 4
claytab is on a distinguished road

claytab is offline
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 ..
QUOTE Thanks
EvenStranger

 
EvenStranger's Avatar
 
Member Since: Dec 09, 2010
Location: Virginia
Posts: 845
EvenStranger is just really niceEvenStranger is just really niceEvenStranger is just really niceEvenStranger is just really niceEvenStranger is just really nice
Mac Specs: Currently 13" Late 2010 MBA, 4GB/128GB; Early 2011 13" MBP, dual core i7 2.7ghz, 4gb ram, 500gb hd

EvenStranger is offline
As far as the comment above goes, the password field won't acknowledge you're typing anything, but it's taking it.
QUOTE Thanks
claytab

 
claytab's Avatar
 
Member Since: Aug 01, 2011
Posts: 4
claytab is on a distinguished road

claytab is offline
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
QUOTE Thanks

Post Reply New Thread Subscribe


« Time Machine backupts to remote server | problems copying files »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Intuit And Apple Working To Try And Get Quicken 2007 Working On Lion OneMoreThing... Apple Rumors and Reports 2 06-17-2011 10:53 AM
Apple working on smaller, $200 contract-free iPhone to combat Android - report the8thark Apple Rumors and Reports 33 02-15-2011 08:30 AM
DSL suddenly not working on Mac, Working fine on Windows Sr-ultimate OS X - Operating System 1 02-15-2009 06:40 PM
The same keys not working after changing keyboard? thorneyvilla Apple Notebooks 0 11-19-2008 09:38 AM
Sudden Motion Sensor not working TheInvsbleMan Apple Notebooks 2 06-10-2008 02:53 PM

All times are GMT -4. The time now is 06:35 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?