Thursday, October 30, 2008

Making ISO Images in Linux

Traditionally I used UltraISO to make my ISO images in Windows. As a linux power user, I needed a way to directly making my ISO images in it. Hopefully linux has a good tool called: mkisofs
My system hadn't it so I needed to install it first:
MyServer:~# aptitude install mkisofs
After that I typed this command to make an ISO file:
mkisofs -o /tmp/cd.iso /tmp/directory/
But it has a weak point! mkisofs, by default doesn't go deeply in directories. So you must force it to do by "-D" switch:
mkisofs -D -o /tmp/cd.iso /tmp/directory/
Also we can make an ISO image directly from CD, DVD or our SCSI optical drive:
dd if=/dev/dvd of=dvd.iso # for dvd
dd if=/dev/cdrom of=cd.iso # for cdrom
dd if=/dev/scd0 of=cd.iso # if cdrom is scsi
That's it :D. Thanks to Scott Granneman for his guide.

Monday, October 6, 2008

Administrating Mailman from Shell

Some useful commands for administrating mailman from shell:

  1. add_members -> Add members to a list from the command line.
  2. check_db -> Check the integrity of a list's database file
  3. check_perms -> Check permissions of Mailman's files
  4. clone_member -> Clone a Mailman subscriber address
  5. config_list -> Configure a Mailman list from a text file description
  6. find_member -> Find all Mailman lists that a member's address is on
  7. list_admins -> List all the owners of a Mailman mailing list.
  8. list_lists -> List all Mailman mailing lists on this host
  9. list_members -> List all the members of a Mailman list
  10. mmarch -> Rebuild a Mailman list's archive.
  11. mmsitepass -> Set the Mailman site password, prompting from the terminal.
  12. newlist -> Create a new, unpopulated mailing list.
  13. rmlist -> Remove the components of a mailing list with impunity - beware!
  14. remove_members -> Remove members from a list.
  15. sync_members -> Synchronize a mailing list's membership with a flat file.
  16. withlist -> General framework for interacting with a mailing list object.