First of all the most important thing is to change the root password of your cam. I suppose you are a mac, Linux or OSX user because its not that simple.
Prerequisites: a cup of coffee.
for windows user: putty or something
First log in over a SSH session to your cam
for example
ssh -p8992 root@192.168.0.50
enter the password: tms320dm365
command
touch /etc/shadow
command
passwd
enter a good password
command
cp /etc/passwd /mydlink
Then edit the script below
command
vi /mydlink/mydlink-watch-dog.sh
insert this at the 3rd line of the script
(that will copy the passwd file now stored in /mydlink at bootup to /etc)
cp -f /mydlink/passwd /etc & >/dev/null
if you don't know how to use vi editor here is a basic manual
http://www.cs.colostate.edu/helpdocs/vi.html
or use midnight commander integrated shell
Why the effort?
Virtually any idiot could SSH access to your LAN/WLAN and do some nasty stuff....