Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WU-FTP Guest Account problems

Status
Not open for further replies.

wieglenda

IS-IT--Management
Feb 8, 2003
30
US
Hey all,

Trying to setup WU-FTP for guest logon, and I've ran into a wall when trying to login to the account.

The passwd entry has been made, the shadow entry was created, the group entry was created, and all three files show the user is added when I "grep" the file.

The FTPaccess file has been modified to allow guest users also.

The problem is, when I try to logon to the ftp with this guest account, I get a logon error. I can logon with a real account, just not a guest one.

Anything that I might have forgotten when setting this up?

Thomas
 

Do you want a real FTP guest account or an account with a password you can give to people??

If the latter, just remove 'guest' from the ftpaccess file and it should work.

I don't know if you should use the account name guest though, it might be reserved by the FTP server.

Cheers Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
I want to host a webserver where individuals can logon to the ftp to update their individual websites. I think that means that I want a real FTP guest account for every person.

And no, I wasn't using the name guest.

Thomas
 

OK, a 'real' guest account is one where you don't need a password and everybody can log in.

What happened when you removed the name from ftpaccess??

Cheers Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
that doesn't work. A REAL account is a account on the machine that access to login to the actual machine. A GUEST account has limited access controls, requires a seperate username/password for each user, and each user has their own private space for transfer of data. They cannot login to the actual machine. A ANONYMOUS account does not need a password (normally) and is an account that allows all user to access one folder for community uploads and downloads. I want to a setup a true guest account system so that each person that logs in has a unique folder where they can upload html docs to allow them to run a basic website.

Thomas
 

You're right, I messed up the names.

What error do you get??

Cheers Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
I tried using Pure-FTPd and the documentation on it is scarce to say the least... what do you think about ProFTPd?

Thomas
 
Ok, after another few hours of tinkering, I've found out a few things.

I am receiving a log entry of
&quot;FTP(pam_unix)[7731]:authentication failure; logname= uid=0 euid=0 tty=/dev/ftpd7731 ruser= rhost=x.x.x.x user=<username>&quot;

This error only occurs when attempting to login as a guest user. I've verified that inside the user's chrooted directory there is a /etc folder with the passwd and group files. Those files have the appropriate entry for the user and for root and no other entries. The REAL /etc/passwd and group files also have the user entries. There is a password set in the /etc/shadow file. I've been working on this problem for about 2 weeks now, anyone have any idea have to get WU-FTPd to allow authentication of guest users?? Real users work with no problem.

Thomas
 
There's modules for ProFTP and WU-FTP servers for the Webmin ( administration 'program'. Maybe approaching it using that kind of tool is what you need. Webmin is a real time saver, nice for fixing up stuff on the Linux box without having to actually spin my chair around and face it's keyboard and monitor ;-) --
JR
 
Ya, I have webmin, but it's not helping me here unfortunatly... I think that I'm getting some sort of PAM auth. error, but I not sure what is causing it...

Help?? Anyone?
 
woohooo!!!! Solved the problem!!

needed to include the lines &quot;passwd /etc/passwd&quot; & &quot;shadow /etc/shadow&quot; in the /etc/ftpaccess config file.

Thomas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top