Einfach folgende Zeile in /etc/passwd einfügen:
boxusr80:any:1080:0:box user:/home-not-used:/bin/sh
Danach das folgende Kommando ausführen:
modsave all
/var/mod/root # passwd ftpuser
Changing password for ftpuser
New password:
Bad password: too weak
Retype password:
Password for ftpuser changed by root
/var/mod/root # modsave all
Saving users, groups and passwords...done.
Saving config...done.
Writing /var/flash/freetz...done.
50176 bytes written.
/var/mod/root # cat /etc/passwd
ftp:x:102:1:FTP account:/home/ftp:/bin/false
smbmount //fritz.box/bilder /mnt/test -o username=ftpuser,password=test123
init_iconv: Conversion from UTF-16LE to 1255 not supported
init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII
init_iconv: Conversion from UTF-8 to 1255 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from ISO8859-1 to 1255 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from 1255 to UTF-16LE not supported
init_iconv: Attempting to replace with conversion from ASCII to UTF-16LE
init_iconv: Conversion from 1255 to UTF-8 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from 1255 to ISO8859-1 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from 1255 to UTF8 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from 1255 to UTF-16BE not supported
init_iconv: Attempting to replace with conversion from ASCII to UTF-16BE
init_iconv: Conversion from UTF8 to 1255 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from UTF-16BE to 1255 not supported
init_iconv: Attempting to replace with conversion from UTF-16BE to ASCII
init_iconv: Conversion from UTF-16LE to 1255 not supported
init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII
init_iconv: Conversion from UTF-8 to 1255 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from UTF-8 to 1255 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from 1255 to UTF-16LE not supported
init_iconv: Attempting to replace with conversion from ASCII to UTF-16LE
init_iconv: Conversion from 1255 to UTF-8 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from 1255 to UTF-8 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from 1255 to UTF8 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from 1255 to UTF-16BE not supported
init_iconv: Attempting to replace with conversion from ASCII to UTF-16BE
init_iconv: Conversion from UTF8 to 1255 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from UTF-16BE to 1255 not supported
init_iconv: Attempting to replace with conversion from UTF-16BE to ASCII
init_iconv: Conversion from UTF-16LE to 1255 not supported
init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII
init_iconv: Conversion from UTF-8 to 1255 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from UTF-8 to 1255 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from 1255 to UTF-16LE not supported
init_iconv: Attempting to replace with conversion from ASCII to UTF-16LE
init_iconv: Conversion from 1255 to UTF-8 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from 1255 to UTF-8 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from 1255 to UTF8 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from 1255 to UTF-16BE not supported
init_iconv: Attempting to replace with conversion from ASCII to UTF-16BE
init_iconv: Conversion from UTF8 to 1255 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from UTF-16BE to 1255 not supported
init_iconv: Attempting to replace with conversion from UTF-16BE to ASCII
11758: tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.)
SMB connection failed
root:x:0:0:root:/mod/root:/bin/sh
boxusr80:any:1080:0:box user:/home-not-used:/bin/sh
ftpuser:x:100:1:ftp user:/var/media/ftp:/bin/false
ftp:x:101:1:FTP account:/home/ftp:/bin/false
root:x:0:0:root:/mod/root:/bin/sh
boxusr80:$1$unnprps$hmPuKP6kW5Vj2W3eVJS5V1:1080:0:box user:/home-not-used:/bin/sh
ftpuser:x:100:1:ftp user:/var/media/ftp:/bin/false
nobody:x:101:2:nobody:/home/nobody:/bin/false
ftp:x:102:1:FTP account:/home/ftp:/bin/false
In /etc/passwd einfügen
boxusr80:any:1080:0:box user:/home-not-used:/bin/sh
modsave all