It is very simple task, and we does not need the root password, but if need the password of the user (using sudo) for the modify the file /etc/network/interfaces, if you want that settings will be by terminal or also we could change the ip addres using the network manager by user interface. Grettings