Hi, I ended up with an awk one-liner (like those proposed here). I also had to run MAKEDEV to fix device permissions, and then fix several files manually (e.g. sshd will not start with keys being world readable). I did an 'ls -lR /' on my home machine, then wrote a script (in rexx, sorry, I'm not familiar with shell script and perl) to adjust access rights based on the flags in the ls output. That should have got 99% of files right. I also have a backup of /etc on tape.
Thanks for the help, Kofa Homepage at http://emil.alarmix.org/kofa/ For PGP public key: send mail with the subject PGP Public Key Request or finger [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]