sudo sh -c 'echo install module_name /bin/true >> /etc/modprobe.d/personal_blacklist'
This line will create (or append) a blacklisting rule for
module_name in the file /etc/modprobe.d/personal_blacklist. Remove or edit this file to lift the ban again.
Workes with: Ubuntu 8.10 (jaunty)