On Thu, Apr 18, 2002 at 07:27:34AM -0400, Tim Wunder wrote: >On Wednesday 17 April 2002 08:08 pm, Bob Raymond wrote: ><snip> >> My Gentoo build is still recovering from my stupidity, typing: >> >> rm -rf /etc >> > >I feel your pain. Did this as root on our RS6000 at work. My first experience >restoring from tape :-). I do almost nothing as root anymore, at work or at >home.
Then there was the bug in Tandy Model 16 Xenix where one could type ``lp *'' in the root directory, and it would actually make a link of / into /usr/spool/lpd. Then if one tried to remove files under /usr/spool/lpd, it removed the entire system. The only fix I found was to rename /usr/spool/lpd and make a new directory. More recently I've seen webmin under Caldera eServer 2.3 mangle the password file, even leaving it empty. We have a script that runs from webmin when any user admin is complete to update the radius authentication databases. I added a section to this program that backs up /etc/passwd and /etc/shadow, but first checks the system version against the backup to see if any admin accounts have gone missing. If it finds missing admin accounts, it immediately restores the backups, and sends an e-mail to [EMAIL PROTECTED] to let us know Something Bad(tm) happened. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ It is necessary for the welfare of society that genius should be privileged to utter sedition, to blaspheme, to outrage good taste, to corrupt the youthful mind, and generally to scandalize one's uncles. -- George Bernard Shaw _______________________________________________ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.