* do this at your own risk *

Looking for a way to access to root account in Vyatta I came across some steps which I would like to share with my readers and serve as a reminder for when I forget.

Step 1.  Log into your Vyatta router, locally or via remote (ssh)
Step 2.  Type configure to enter the configuration area of your Vyatta router.
Step 3.  At the configuration CLI type the following:
~# set system login user root authentication plaintext-password <password>
~# commit
~# save *this will save the change you just made to the startup configuration

And that’s it, you will now be able to ~# su to gain root access