Unix administration - Disable dd command to protect disk areas

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > April 2005 > Disable dd command to protect disk areas





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Disable dd command to protect disk areas
mforster1910

2005-04-25, 12:42 am

Hi, everyone.

Is there any way to disable the dd command, to prevent inadvertent corruption of disk areas?

On a project I am aware of, there have been 3 occasions of errors using the dd command that overwrite critical portions of disk group headers. This caused the disk groups to be unusable, and had to be rebuild from scratch; all of the data in those disk groups was lost.

The ideal solution would be a 2-step usage, causing any user, even one with root privileges. to have to stop and think before using the dd command - something like: 1) attempt the dd command, and have it refused; 2) re-enable the dd command; and only then 2) use the dd command for whatever purpose was intended.

Thanks.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com