1757724 Members
2323 Online
108863 Solutions
New Discussion юеВ

Wu-ftpd Help!!!

 
kwad
Occasional Advisor

Wu-ftpd Help!!!

Hi Guys,

I have setup my ftp server with virtual server support.
However, i want the seperate domains to have their own individual passwd files to authenticate. Is this possible? and how do u do it or setup the ftpaccess file to do this.

At the moment both sites are using the passwd file in /etc/passwd.:(

I am using wu-ftpd 2.6.1 on hp-ux 11i v3.

Help would be greatly appreciated.Thanx
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Wu-ftpd Help!!!

Shalom,

Need to know your virtualization method to correctly answer.

Few things. You might be better off with openssh(known as secure shell).

I don't see how ftpaccess file can help. It does not store authentication information, it determines what users can or can not access via ftp.

Note you may run into trouble if users have different numeric user id. User shmuel needs to have the same numeric id on all systems for any scheme to work.

You can use ldap if its in your shop to possibly get around this.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
kwad
Occasional Advisor

Re: Wu-ftpd Help!!!

Hi Steven,

Sorry I mean Virtual ftp support.e.g

i want to host ftp.flowers.com -10.10.0.1 and ftp.animals.com - 10.10.0.3 on the same machine.

I've read the man pages for ftpd,ftpaccess and ftpservers.I have created the seperate ftpaccess files for each domain. Which works well.

There 5 users on ftp.flowers.com and 5 users on ftp.animals.com.

What i want is for these users to be listed in their own passwd file for their relative domains.

At the moment, they are all listed in the one file in /etc/passwd.

Can this achieved?
Matti_Kurkela
Honored Contributor

Re: Wu-ftpd Help!!!

Sadly, at least on a HP-UX 11.31 system here, the ftpaccess(4) man page indicates the necessary configuration items are not supported on HP-UX:

--------
virtual address passwd file

* Use a different passwd file for the virtual domain.
* Note: This option is currently not supported in HP-UX.

virtual address shadow file

* Use a different shadow file for this virtual domain.
* Note: This option is currently not supported in HP-UX.
--------

MK
MK
kwad
Occasional Advisor

Re: Wu-ftpd Help!!!

Thanx for thats guys.

Another question.
Would you guys know if there is a way to track the pids of the individual users that log in via ftp?

I am looking for a way to manual kill their sessions.

Thanx in advance
Dennis Handly
Acclaimed Contributor

Re: Wu-ftpd Help!!!

>track the PIDs of the individual users that log in via ftp?
>I am looking for a way to manual kill their sessions.

You might be able to look at all of the children of ftpd or a similar process.