LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-19-2003, 04:56 PM   #1
deepika
Member
 
Registered: Jul 2003
Distribution: Redhat
Posts: 88

Rep: Reputation: 15
Angry wu-ftpd: guest user configuration


Hi,

I am running wu-ftpd on RH8.0. I am learning to set up guest user configuration. I have read many documents regarding that and what I understood from there is that we can set up guest configuration in two ways

1. using system wide passwd file (/etc/passwd) which contains the guest user's home directory in below format.
/guest user's chroot dir/./guest user's home directory relative to chroot dir


2. other way is to use guest-root directive in /etc/ftpaccess file
e.g.
guest-root /home/users guest

which will chroot the guest user 'guest' in /home/users directory.

Am I correct?

Now the question is do I REALLY need to create bin, lib and etc dir in /home/users for 'guest' to login and listing and transfering files?? Because I
could login as 'guest' even without creating these directories. Just setting guest-root directive to correct chroot seems to be enough if I want chroot 'ed dir to be same as the initial directory of logged in guest user.

Please please reply soon. I have read many documnets but none talks about such scenario.

Thanks & Regards,
Deepika
 
Old 08-19-2003, 05:07 PM   #2
Electric_Blue
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 35

Rep: Reputation: 15
The users will not be able to get a directory listing if you do not put those files in there and give them execute permissions for that user. try logging in as that user and do ls on the directory. in my experience it will just hang, and then eventually disconnect the user.

Try it out though =)
 
Old 08-19-2003, 08:34 PM   #3
deepika
Member
 
Registered: Jul 2003
Distribution: Redhat
Posts: 88

Original Poster
Rep: Reputation: 15
I can run 'ls' and other command (get, mget) as well...
 
Old 08-19-2003, 10:29 PM   #4
Electric_Blue
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 35

Rep: Reputation: 15
If your guest is truly chrooted then I wouldn't worry about it then.
Congrats
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there possible to hack- winxp w/ guest user only? Lancelot1914 Programming 2 07-14-2005 12:11 PM
Add guest user wlaw Linux - Newbie 5 06-26-2004 09:28 AM
wu-ftpd configuration: guestgroup directive deepika Linux - Networking 0 08-18-2003 09:40 PM
Help with WU-FTPD Guest/Real CHMOD CPUguy387 Linux - Newbie 1 08-11-2003 10:47 AM
VS-FTPD Configuration on Redhat 9 ctejas Linux - Networking 2 06-20-2003 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration