commands:
$su root
$password
(system will request the root password)
$sudo gedit /etc/profile
(to open the folder and the can chenge the path already.)
have to change to the root permission, the profile can not be cant if it is normal user