Download this file
This is a handy project to regain access to your PLC in case you can access it with CODESYS, but not via the Linux Shell. You can execute virtually every Linux Shell command, right from the PLC Shell.
I just used it to reset my password:
LinuxShell echo 'myuser:mypassword' | chpasswd