Hello.
Is there a way to change the user and set a password to the ftp access ?
Under what user is running the ftp client ?
More than that, what ftp server is it running ? vsftpd or proftpd ? Or some custom one ?
Add/change password for ftp
-
arris69
- Official SamyGO Developer
- Posts: 1700
- Joined: Fri Oct 02, 2009 8:52 am
- Location: Austria/Vienna (no Kangaroos here)
- Contact:
Re: Add/change password for ftp
just guessedtrex2000 wrote:Hello.
Is there a way to change the user and set a password to the ftp access ?
Code: Select all
passwdon samsung tvs there is just 1 userUnder what user is running the ftp client ?
vsftpd or busybox depends on architecture.More than that, what ftp server is it running ? vsftpd or proftpd ? Or some custom one ?
look into
Code: Select all
<widgetinstalldir_read_in_wiki>SamyGO/etc/init.dRe: Add/change password for ftp
So, from what I understood, there is only one user, which I suppose is root.
Indeed, passwd will change the password, but won't this affect some other functionality ? I guess not as if everything runs under the root account then there's no need to supply password...
Thanks for the infos, I'll try it at home.
Indeed, passwd will change the password, but won't this affect some other functionality ? I guess not as if everything runs under the root account then there's no need to supply password...
Thanks for the infos, I'll try it at home.
Re: Add/change password for ftp
So, i've changed the root password by connecting with netcat, however the ftp server was still not asking for password.
I've started digging into the init scripts and found the following line :
inside the
script file.
So this is where busybox is started.
I've started reading the busybox documentation, I suppose busybox is not using the /etc/passwd file, it will just let anonymous login to anybody ..
Any thoughts, help ?
I've started digging into the init scripts and found the following line :
Code: Select all
$SYSROOT/bin/busybox tcpsvd -vE 0.0.0.0 21 $SYSROOT/bin/busybox ftpd -w / &Code: Select all
01_01_catch_crap.initscript file.
So this is where busybox is started.
I've started reading the busybox documentation, I suppose busybox is not using the /etc/passwd file, it will just let anonymous login to anybody ..
Any thoughts, help ?
Re: Add/change password for ftp
to console:
then when asked:
enter new password twice. After the procedure
you get new password for your ssh/ftp connection.
Code: Select all
passwdCode: Select all
Enter new UNIX password:
Retype new UNIX password:
Code: Select all
passwd: password updated successfullyLE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE
Re: Add/change password for ftp
No, you don't.
FTP is served on the UEXXD6000 on which I run Samygo by busybox.
Meanwhile I found that busybox's FTP server allows only anonymous access, so anybody can login with any password.
Therefore, even if you change with passwd , the ftp access will be unlimited.
Is there any alternative ftp server compiled for it, like vsftpd ?
Currently there's no 'public' access to the server, it's behind the firewall, and I can have remote access to it either from local network or remotely via VPN connection to the local network. However, file transfer through vpn is slower, therefore I would have prefered a strait ftp connection.
FTP is served on the UEXXD6000 on which I run Samygo by busybox.
Meanwhile I found that busybox's FTP server allows only anonymous access, so anybody can login with any password.
Therefore, even if you change with passwd , the ftp access will be unlimited.
Is there any alternative ftp server compiled for it, like vsftpd ?
Currently there's no 'public' access to the server, it's behind the firewall, and I can have remote access to it either from local network or remotely via VPN connection to the local network. However, file transfer through vpn is slower, therefore I would have prefered a strait ftp connection.