LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-18-2003, 10:40 PM   #1
deepika
Member
 
Registered: Jul 2003
Distribution: Redhat
Posts: 88

Rep: Reputation: 15
wu-ftpd configuration: guestgroup directive


Hi,

I have installed wu-ftpd (v2.6.2) on RH8.0 and trying to configure it in different ways. I have my /etc/ftpaccess file containing following line

# Chroot all users to their home directory by default
# (comment this out if you don't want to chroot most of your users)
guestuser *
# If you wish to allow user1 and user2 to access other
# directories, use the line below:
# realuser user1,user2
realuser deepika

guestgroup ftpchroot

I have also added below line in my /etc/group
ftpchroot:x:503:deepika,pawan

Now when I login as deepika it allows me to see entire system directory structure as shown below.

--------------------------------------------------------------------------------
[deepika@localhost deepika]$ ftp localhost
Connected to localhost (127.0.0.1).
220 localhost.localdomain FTP server (Version wu-2.6.2-8) ready.
Name (localhost:deepika): deepika
331 Password required for deepika.
Password:
230 User deepika logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
257 "/home/deepika" is current directory.
ftp> cd ../..
250 CWD command successful.
ftp> pwd
257 "/" is current directory.
ftp>
-------------------------------------------------------------------------------------
In other words it logs in deepika as a real user. I wanted to know if
guestgroup ftpchroot should cause 'deepika' to login as guest user as deepika is member of ftpchroot group which is a guest group.

Please tell me which configuration (real user or guest user) takes precedence over other if a user matches both clause?

Thanks & Regards,
Deepika
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
FTPD default permissions (wu-ftpd) bd1308 Linux - Software 1 10-22-2005 07:01 AM
ProFTPD directive configuration question orange400 Linux - General 2 04-24-2004 08:17 PM
wu-ftpd: guest user configuration deepika Linux - Networking 3 08-19-2003 11:29 PM
%include directive in Kickstart configuration file deepika Linux - Newbie 0 07-24-2003 06:32 PM
VS-FTPD Configuration on Redhat 9 ctejas Linux - Networking 2 06-20-2003 09:28 PM


All times are GMT -5. The time now is 07:31 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration