Suppose you need to edit the file /etc/lilo.conf, which is writable only by root. Do
su -c 'kwrite /etc/lilo.conf'
(substitute kwrite with whatever editor you'd prefer) then enter the root password. Make your edit, save the file and exit. You'll be dropped back to your normal user.