Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 4 of 4

Thread: Broken Sudo

  1. #1
    godofmuffins is offline Registered User
    Join Date
    Nov 2001
    Location
    Middle, Nowhere
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Broken Sudo

    I know nothing about Unix, so I hope you people can help me out

    I was in root today fixing something, when I thought "gee, self, why not set the privileges for everything to Read/Write so I never have to go into root again!". So I got info on my hard drive, went to Privileges, set Everyone to Read/Write, and clicked Apply to copy to all enclosed folders.

    I restart and pop into my account and when I try to use sudo, it gives me an error:

    > sudo blah blah
    Sorry, sudo must be setuid root.

    Eeek! Can anyone help me? Can I somehow reset my privileges to defaults? Etc. etc.?

  2. #2
    Captain Code's Avatar
    Captain Code is offline Moderator
    Join Date
    Aug 2001
    Location
    Ontario, Canada
    Posts
    3,120
    Thanks
    0
    Thanked 17 Times in 2 Posts
    Try Apple's recently released Privileges Utility(I forget the exact name)

    It resets/fixes all the permissions on the drive.
    MacBook Pro 2.16GHz Core2Duo 3GB RAM, G4 1.4GHz OSX Tiger 1.25GB RAM, Dual 2GHz G5 OSX Tiger 2GB RAM (freakin shweet)
    Athlon 64 Windoze XP for school work (programming) 1GB RAM
    dferns@macosx.com

  3. #3
    godofmuffins is offline Registered User
    Join Date
    Nov 2001
    Location
    Middle, Nowhere
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Found it...

    I got ahold at it after searching the Knowledge Base (which suprised me, the thing has always given me useless results). The download page can be found here.

    I'll try it out and let you know how it works.

  4. #4
    Captain Code's Avatar
    Captain Code is offline Moderator
    Join Date
    Aug 2001
    Location
    Ontario, Canada
    Posts
    3,120
    Thanks
    0
    Thanked 17 Times in 2 Posts
    Good luck!
    MacBook Pro 2.16GHz Core2Duo 3GB RAM, G4 1.4GHz OSX Tiger 1.25GB RAM, Dual 2GHz G5 OSX Tiger 2GB RAM (freakin shweet)
    Athlon 64 Windoze XP for school work (programming) 1GB RAM
    dferns@macosx.com

 

 

Similar Threads

  1. sudo problems getting desparate!?
    By buchan in forum Unix & X11
    Replies: 11
    Last Post: August 5th, 2003, 03:06 AM
  2. Is sudo inherited to aliased commands?
    By michaelsanford in forum Unix & X11
    Replies: 2
    Last Post: March 10th, 2003, 09:18 AM
  3. Can't sudo
    By Kristjan in forum Mac OS X System & Mac Software
    Replies: 1
    Last Post: March 20th, 2002, 10:59 AM
  4. sudo must be setuid root
    By Untitled in forum Mac OS X System & Mac Software
    Replies: 5
    Last Post: January 6th, 2002, 03:27 PM
  5. sudo security
    By resedit in forum Mac OS X System & Mac Software
    Replies: 9
    Last Post: May 4th, 2001, 02:02 AM

Bookmarks

Posting Permissions

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