Operating System - HP-UX
1849287 Members
6506 Online
104042 Solutions
New Discussion

Re: create a user with ftp access.

 
vijila
Advisor

create a user with ftp access.

Hi,

I want to create a user with ftp access to one of the folder. can any one help me to know the procedure for this task.


Thank you in Advance,
Vijila
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: create a user with ftp access.

Shalom,

add the user, useradd

Edit /etc/passwd
vipw

Change the home directory to the desire location and the shell to /usr/bin/false

Done.

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
Fabio Ettore
Honored Contributor

Re: create a user with ftp access.

Hi vijila,

I think what you are looking for is ftpaccess file, man ftpaccess for more info. Don't forget to set -a option at the end of ftpd line within /etc/inetd.conf and then issue inetd -c:

-a Enables the use of the configuration file
/etc/ftpd/ftpaccess. (see ftpaccess(4)).

Best regards,
Fabio
WISH? IMPROVEMENT!
vijila
Advisor

Re: create a user with ftp access.

Hi Steven,


I have tries in the way that u have suggested, but it is not working .


What will I do!!!!!!!!!!

Regards,
Vijila
vijila
Advisor

Re: create a user with ftp access.

HI Fabio,

Could you please elabearte it little more!!!!!!!!!!

Regards,
Vijila
Shahul
Esteemed Contributor

Re: create a user with ftp access.

Hi,

Could you please tell us what error you are getting or how far you are able to progress with it. If you have got the network link between ftp client and server, then the configuration is very easy and already listed above. OR are you talking about anonymous ftp?

Regards
Shahul