pinks wrote:
hi, i keep getting this error messege ">>>sudoers file; sytax error, line 19<<<<
sudo parse error in /etc/sudoers near line 19...
any idea's as to what i might be doing wrong >>> kinda new to all this
If you are new to the Unix side of MacOSX, you shouldn't have played with the sudoers file. In case you followed some advice like the one given in Fink FAQ#5.9 http://fink.sourceforge.net/faq/usage-fink.php?phpLang=en#sudo
you probably didn't follow it to the letter and edited the /etc/sudoers file directly without using visudo. You added some garbage at the end of that file. Since the file is used for controlling access to the sudo command, you can't use this command any more.
You are now caught in a bad situation: For repairing the /etc/sudoers file, you need to run sudo, but you can't as long as the file has a syntax error.
There are two relatively painless ways out of this:
1. Activate the root account, login as root, and fix the /etc/sudoers file or
2. Boot into single user mode, mount the root partition as r/w and fix the /etc/sudoers file.
Both methods require more knowledge than you probably have right now. Both of them are also dangerous and allow you to damage your system even more than you did already. Therefore I will not try to explain the details. If you don't find out yourself how to do 1. or 2., I would rather suggest a method that I recommend only in the most extreme situations:
3. Reinstall your system. At least reinstall the Essentials.pkg from your Mac OS X system disk.
-- Martin
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners
