su to root linux

C++
$ su linuxandubuntu
password:
linuxandubuntu@sandy:~$
Source

Also in C++: