Forums Search Login Register
New Posts Todays Posts Find Users Posts Unanswered Threads Help Mark Forums as Read

Thread Options  Subscribe to this thread Subscribed Users  Add Reply 
Posts: 1,345
Hi All,

i have made pure-ftpd on ubuntu machine,problem is that when i am running ftp its giving error.below is tha code and error message.

groupadd ftpgroup
useradd -g ftpgroup -d /dev/null -s /etc ftpuser
echo "[*] Setting up FTP user abc\n"
pure-pw useradd abc -u ftpuser -d /ftphome/offsec
pure-pw mkdb
cd /etc/pure-ftpd/auth
ln -s /etc/pure-ftpd/conf/PureDB /etc/pure-ftpd/auth/60pdb
echo "[*] Setting home directory in /ftphome/\n"
mkdir /ftphome
chown -R ftpuser:ftpgroup /ftphome/offsec
echo "[*] Starting FTP server\n"
/etc/init.d/pure-ftpd restart


[email protected]:/var/www# ftp
Connected to
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 22:54. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Name ( abc
331 User abc OK. Password required
530 Login authentication failed
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.


[email protected]:/var/www# vim /etc/pure-ftpd/auth/
60pdb 65unix 70pam

[email protected]:/var/www# cat /etc/pure-ftpd/auth/60pdb
[email protected]:/var/www#

[email protected]:/var/www# cat /etc/pure-ftpd/auth/65unix

[email protected]:/var/www# cat /etc/pure-ftpd/auth/70pam

Any help or guidance will be highly appreciated.

03-11-2013, 03:05 PM
Subscribe to this thread Subscribed Users  Add Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [ubuntu] "groups" CLI gives group or user ? jindymas11 0 5 10-05-2020 01:18 PM
Last Post: jindymas11
  [SOLVED] sftp user read only - other users home folder armani5596 0 6 09-29-2020 01:02 PM
Last Post: armani5596
  [ubuntu] lightdm - with slick-greeter, login loops back to the lightdm login screen vbasilshawh 0 16 09-16-2020 09:46 AM
Last Post: vbasilshawh
  Firefox wont login to an internal site sevans 0 23 09-02-2020 12:48 PM
Last Post: sevans
  [ubuntu] Configure virtual users in vsftpd on ubuntu 18.04 vfreddyhuynhp 0 13 09-02-2020 10:32 AM
Last Post: vfreddyhuynhp
  [ubuntu_mate] UB Mate 20.04 Black screen during login Trevor 0 26 07-31-2020 05:15 AM
Last Post: Trevor
  [kubuntu] Problem with audio configuration at login DominiqueM1950 0 30 07-20-2020 10:45 PM
Last Post: DominiqueM1950
  [ubuntu] post 20.04 install, unable to login vbasilshawh 0 33 07-07-2020 01:50 AM
Last Post: vbasilshawh
  Automatic login and screen saver jeglin 0 27 05-26-2020 05:56 PM
Last Post: jeglin
  [ubuntu] Ubuntu 20.04 login loop tyelenacarrollg 0 26 05-06-2020 04:19 AM
Last Post: tyelenacarrollg

Forum Jump:

User(s) browsing this thread: 1 Guest(s)

Contact Us Privacy Policy Top RSS
Forum Software By: MyBB, © 2002-2020