Operating System - HP-UX
1833883 Members
1840 Online
110063 Solutions
New Discussion

how to create an user only for ftp purpose

 
SOLVED
Go to solution
siva baskaran
Regular Advisor

how to create an user only for ftp purpose

Dear,

i would like create an user only for ftp purpose, who shouln't use other facility, and ftpuser must
have home directory, becoz ftp user will do file transfer only so that's why ftpuser need home directory

so please help me to do the same

thanks
siva
5 REPLIES 5
Arunvijai_4
Honored Contributor
Solution

Re: how to create an user only for ftp purpose

Hi Siva,

Check this thread for creating "ftponly" user account

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=25480&admit=-682735245+1150601898622+28353475

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Michael Steele_2
Honored Contributor

Re: how to create an user only for ftp purpose

Try looking at this link:

http://medlib.med.utah.edu/medstat_ops/node24.html
Support Fatherhood - Stop Family Law
Sorrel G. Jakins
Valued Contributor

Re: how to create an user only for ftp purpose

Just create the user with /usr/bin/false as his shell in their user entry so that the passwd entry looks something like this:
imgftp:*:828:10::/home/imgftp:/usr/bin/false

spex
Honored Contributor

Re: how to create an user only for ftp purpose

Siva,

Make sure that /usr/bin/false exists in /etc/shells, and that the ftp user you create is a member of the guestgroup from /etc/ftpd/ftpaccess.

PCS
jhingoor
Frequent Advisor

Re: how to create an user only for ftp purpose

Just refer this attachment..it will solve all your doubts.