#1  
Old 4th May 2009, 17:41
e-mahdi e-mahdi is offline
Junior Member
 
Join Date: May 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default proftpd tease me

i install proftpd
./configure
make && makeinstall

then create user for it
my proftpd.conf
ServerType standalone
DefaultServer on

# Port 21 is the standard FTP port.
Port 21

# Don't use IPv6 support by default.
#UseIPv6 off

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 002

#add by adminroftpd files

AuthUserFile /usr/local/etc/proftpd.passwd
AuthGroupFile /usr/local/etc/proftpd.group

PidFile /usr/local/etc/proftpd.pid
ScoreboardFile /usr/local/etc/proftpd.score
SystemLog /usr/local/etc/proftpd.syslog
TransferLog /usr/local/etc/proftpd.xferlog


# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 20
#add by admin:maximum clients can login
MaxClients 2
# Set the user and group under which the server will run.
User root
Group wheel

DefaultRoot ~

# Normally, we want files to be overwriteable.
AllowOverwrite on

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>
and now when i am connect i sea this message




no supplemental groups found for user 'soroushir'
USER soroushir: no such user found from ::ffff:192.168.250.100 [::ffff:192.168.250.100] to ::ffff:85.143.133.8:21
dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_delay
dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth
FTP session closed.
Reply With Quote
Sponsored Links
  #2  
Old 5th May 2009, 19:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Is soroushir listed in /etc/passwd?

What's in /usr/local/etc/proftpd.passwd and /usr/local/etc/proftpd.group?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 6th May 2009, 13:03
e-mahdi e-mahdi is offline
Junior Member
 
Join Date: May 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

no , soroushir is not in /etc/passwd

i create a user name=ftpbackup uid=1010
/etc/passwd has this line
ftpbackup:*:1010:1010:User &:/backup/soroush/:/bin/sh


content of /usr/local/etc/proftpd.passwd
soroushir:$1$ADVjItJ$MEh/.FSpyeZmy2U4HQGPP0:1010:1010::/backup/soroush:/bin/bash
content of /usr/local/etc/proftpd.group
proftpd:*:666:
wheel:x:1010:soroushir

when i install proftpd one step is
./contrib/ftpasswd --passwd --file=/usr/local/etc/proftpd.passwd --name=soroushir --uid=1010 --home=/backup/soroush/ --shell=/bin/sh
then
./contrib/ftpasswd --group --gid=1010 --name=root --member=soroushir --file=/usr/local/etc/proftpd.group
sorry for my bad English

Last edited by e-mahdi; 6th May 2009 at 13:38.
Reply With Quote
  #4  
Old 6th May 2009, 13:52
e-mahdi e-mahdi is offline
Junior Member
 
Join Date: May 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

oh my ALLAH

it is solve

see the content of proftpd.group
i copy line 1 and change it to

soroushir:*:1010:

now it works

dear falko
thank you for your reply
if you don't ask content of proftpd.group i cant solve it
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error with restarting proftpd server SQL mod Sardonis HOWTO-Related Questions 4 2nd May 2009 16:47
ProFTPd + MySQL refuses to work mongoose643 Server Operation 2 19th October 2008 16:43
Stop - start process ProFTPD and get warning kvdd Installation/Configuration 2 13th November 2007 17:25
proftpd virtual host not working DaddyFix Installation/Configuration 6 19th April 2006 19:59
Im thinking about throwing proftpd to the trashcan danf.1979 Installation/Configuration 2 23rd December 2005 09:27


All times are GMT +2. The time now is 10:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.