General discussion

Locked

FTP ?

By theword ·
Hi.
I have wu-ftp, and it works on my small lan. It is setup to use ftp as the guest account with a password of the email address or something with the @ symbol.
1) When I logon using a regular user name and password, I have complete access to my whole directory. Can I limit the normal user like the guest account (ftp) and somehow drop that person in the ftp home directory structure?
2)I have my failed logon set to 5. When I try to logon and mistype a user or password, it doesnt go thru, butI still get the ftp prompt back just waiting for input. Now, it wont except any command to login, so I close the session with (close) and reopen it with (open) to start another session. When I type right I go in. So if I mistype, how do I use the command prompt (ftp) rightly so as to continue to login rightly?
Thanks........................Pat

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

FTP ?

by dpalsen In reply to FTP ?

Use the command "user" to try again to login. As for restricting access, check your file permissions.

Collapse -

FTP ?

by theword In reply to FTP ?

Poster rated this answer

Collapse -

FTP ?

by theword In reply to FTP ?

Hi.
The "user" answer works fine, but the other part was vague. How do I dump a regular user into the home directory of ftp. I changed the password attributes of a user to the home directory of ftp, which is /var/ftp.
What else do I need to change in order for a regular user to be dumped into the ftp home directory?
Thanks Pat

Collapse -

FTP ?

by qomputek In reply to FTP ?

I'm not sure what OS your using but I know that Red Hat has an rpm package you can install that will set up anonymous ftp for you which will log on as user ftp into whatever home directory you have set for it. Also it uses the chroot command to keep that user in its home directory ( to the user it will seem as if he is in the root ( / ) directory.)

Their is a great ftp server called ProFTP that is much easier to use and set up. You can have multiple users be looked into their home directories.

For your second question, all you have to do is type user (eg ftp> user ) and it will prompt for a user name again. The connection to the server stays untill you type the wrong password 5 times then it will boot you off the server completelyand you will have to type open again like you've done before.

Collapse -

FTP ?

by theword In reply to FTP ?

OK. The 2nd part of your answer is fine, but I still am in the lurk about the first part. That is why is the regular user gets put into the system root directory instead of the chroot directory. I can only assume it is by design. If you know why a regular user gets put in the system root account please let me know at
savior24@attbi.com
Thanks pat

Collapse -

FTP ?

by theword In reply to FTP ?

This question was closed by the author

Back to Linux Forum
6 total posts (Page 1 of 1)  

Related Discussions

Operating Systems Forums