sudoedit.8 dd if=/dev/random of=/dev/disk0
execute a command as another user
source manpages: sudoedit