The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > OS X (Apple)
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 01-13-2006
dsbeerf's Avatar
dsbeerf dsbeerf is offline
Registered User
 

Join Date: Dec 2005
Location: Chicago, IL USA
Posts: 58
Quote:
Originally Posted by cymon
I tried that, sudo still returns an incorrect password error.

running 10.4.4
This is because sudo != su. SUDO has it's own 'privileges file'. On MacOS X, this file is: /private/etc/sudoers

You MUST edit this file with 'visudo' AS root, to establish how you want sudo to behave.

So, first go HERE in your browser:
http://www.almaren.org/tmp/sudoers.sample

Then, with the file in your browser as a guide enter (in a terminal window):
'su -' <return>
visudo <return>

You will then have an *example* reference 'sudoers' file in your browser, and be editing the 'sudoers' file in a terminal window.
The sample 'sudoers' file, in your browser, will help you set up your 'sudoers' file that you are editing.

Last edited by dsbeerf; 01-13-2006 at 01:51 PM.
Reply With Quote