[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
Unable to modify FTP password with telnet
11-08-2011, 08:12 PM
Post: #1
Unable to modify FTP password with telnet
Hello,

I tried to add a new user on the FTP with this commande:
Code:
pure-pw useradd guest -f /etc/pureftpd.passwd -u 1001 -g 1001 -d /share/Video

The problem is that this command should ask me the password twice in return but nothing happen...

I tried to modify the password with:
Code:
pure-ftpd passwd guest
but the result is the same... password is not asked...

My new user is well created but I can't modify the password.
Each time I do pure-ftpd passwd, the password is modified randomly.

I connect to my PCH-A110 on telnet with putty.

Help me please
Find all posts by this user
Add Thank You Quote this message in a reply
11-08-2011, 10:51 PM
Post: #2
RE: Unable to modify FTP password with telnet
I didn't solved the problem of the command but I bypassed it Wink

I compute the MD5 hash with the PHP crypt function:
Code:
<?php
$hash = crypt('1234', '$1$Cp2gnAc0$');
echo $hash;
?>

Then I replaced the hashed password in pureftpd.passwd with vi:
Code:
vi /etc/pureftpd.passwd

I finished with updating the database:
Code:
./pure-pw mkdb

Et voila !

I hope this will help other people someday...

Bye
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  ftp server and upload images from ipcam defer 8 5,278 02-11-2012 04:48 PM
Last Post: vanquish99
  What are default Samba and FTP logins? Auggie 1 1,879 02-10-2011 07:03 PM
Last Post: dc11ab
  Client FTP in PCH? projectmayhem 3 1,951 12-28-2010 11:44 AM
Last Post: dc11ab
  FTP permissions 000 diderikfrom 6 3,274 08-25-2010 06:17 PM
Last Post: infinite.recursion
  Can I let FTP play nicer? jorgb 0 1,076 08-07-2010 09:07 AM
Last Post: jorgb
  Telnet jobs stop after exit Boogje 6 2,414 07-16-2010 01:20 PM
Last Post: lordy
  Does FTP resume work? cagg 1 2,117 05-26-2010 02:52 AM
Last Post: michaelg04
Rainbow Password protecting the_obs 3 1,420 04-13-2010 07:58 PM
Last Post: the_obs
  Unable to write to HDD by FTP on A-110 buffalogent 2 2,090 04-05-2010 10:30 PM
Last Post: halfelite
  FTP on external drive not able to write files antro31 1 1,647 04-02-2010 11:55 AM
Last Post: antro31

Forum Jump: