When i tryed typing the command to edit the file....it said permission denied....i was logged in as root.