Uttam Rathod wrote:
> I'm unable to login into my ftp server. I have installed the
> standard e-smith server. Do i need to create any new user
> specific to ftp or so ? What changes need to be made to start
> my ftp service / server ?
If you don't have e-smith 3.1, you probably should upgrade to
it.
There is a bug in e-smith 3.1 - there is a missing file - /etc/pam.d/ftp. It is a text file and it needs to contain this:
#%PAM-1.0
auth required /lib/security/pam_listfile.so item=user
sense=deny file=/etc/ftpusers onerr=succeed
auth required /lib/security/pam_pwdb.so shadow nullok
account required /lib/security/pam_pwdb.so
session required /lib/security/pam_pwdb.so
[The line which starts "sense-deny" is a continuation of the first line - it needs to be one long line.]
Alternatively, you can download the file. Log into the e-smith server as root (use Alt-F3 to get to a login prompt, and use
the username "root" and the admin password), then do:
cd /etc/pam.d
wget
http://e-smith.gormand.com.au/ftpexit
Charlie