If I managed to cause that type of breakage (I *often* do ;) I guess the
quick-n-dirty way would be to start in single-user mode.  My 604e's been
compiling for the last 3 days, so I don't want to verify this right
now... but I'm pretty sure that Command-S gives you single-user (root)
access by default.  Chmod the wonky files/folders as necessary and
reboot.  Best description of enabling root login once things get back to
normal is at
http://www.macosxlabs.org/documentation/hard_disk_maintenance/requiremen
ts/requirements.html -- but if that is for some reason not behaving you
can do everything netinfo's gui does from a single-user '#' prompt
(google the ni* command syntax ;)

Oops, fogot... you have to mount your volume as read/write in
single-user mode before you can fool around with chmodding --
single-user ritual as follows:

/sbin/fsck -y         # Nice to know your drive isn't hosed ;)
/sbin/mount -wu /     # Mount the disc
/sbin/SystemStarter   # Get the basic services running

I'm very new to Mac and Unix ('doze user jumping ship) so I always stand
to be corrected.

Regards,
D.

 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of J. Talarski
Sent: Friday, June 07, 2002 10:00 AM
To: [EMAIL PROTECTED]
Subject: [Fink-users] Broken Sudoers

I'm not sure what I did ('cept ignore a few warnings).  I recently
upgraded
to OSX 10.1.5 and have seen this message pop-up anytime I use the SUDO
command.  

localhost:~] talarski% sudo apt-get update
sudo: /etc/sudoers is mode 0775, should be 0440
[localhost:~] talarski% can not write to queue directory
/var/spool/clientmqueue/ (RunAsGid=25, required=80): Permission denied

I'm sure I did some damage using a program called BatCHmod which let you
change user privileges and force empty your trash.

Now, being somewhat of a newbie I'm not sure, but I think I'll need to
complete two tasks to fix this issue.  Log in as root (of course I've
never
setup the root password and doing so now without SUDO is proving
challenging) and set the correct parameters for /etc/sudoers and
/var/spool/clientmqueue.  Can anyone point in the way of instructions
(or
provide guidance) on completing these tasks?


localhost:~] talarski% sudo apt-get update
sudo: /etc/sudoers is mode 0775, should be 0440
[localhost:~] talarski% can not write to queue directory
/var/spool/clientmqueue/ (RunAsGid=25, required=80): Permission denied


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to