You may reset or replace a toilet without pulling a permit if the work does not include alterations to the existing plumbing piping system.  If your current toilet installation does not have a separate water shut-off valve, however, you are required to install one when you replace the toilet – and for that, you do need a permit.