editing modprobe.conf

Sorry i am a newb to linux im trying to disable the ipv6 on my computer by editing the modprobe.conf but it wont let me save it cuz im not root how can i edit this and save the file when im done?? sorry again for the stupid question

nevermind i got it just have to open my eyes lol