it depends on the setting of hte peaceful flag (each player can set it). By default, peaceful is on. This means you will push friendly objects, not attack them. But once you do attack a monster via some means (missile weapon or spell), peaceful is turned off. If you want to be able to hit another player, or kill your pets, just turn peaceful off.