1829778 Members
1714 Online
109992 Solutions
New Discussion

Ftp useres restriction

 
HP_16
Occasional Contributor

Ftp useres restriction

Hi All,
My requirements,
I want to create an FTP user who can put the files,get files,delete file,move files,rename files to his home directory and he is not able to do anything on other directories..
Is it possible...
If possible which type of user i have to create..
Siju
4 REPLIES 4
Stephen Keane
Honored Contributor

Re: Ftp useres restriction

man 4 ftpaccess
Tom Smith_9
Frequent Advisor

Re: Ftp useres restriction

Hi Siju,
Sounds like you need to create a restricted FTP account. I have attached a procedure that has worked well for me.

-Tom
Nguyen Anh Tien
Honored Contributor

Re: Ftp useres restriction

Hi hpiocl
You should refer this file
/usr/newconfig/etc/ftpd/examples/ftpaccess
and
#man ftpaccess
for syntax in this file

FORCUS ON THESE TAG
# cdpath
cdpath /USER_HOME
cdpath /pub
and
upload /var/ftp * no
upload /var/ftp /incoming yes root daemon 0600 dirs
upload /var/ftp /bin no
upload /var/ftp /etc no

OR
vi /etc/passwd
user::100:92:userid Account:/ftp/./incoming:/etc/ftponly
HP is simple
Joseph Loo
Honored Contributor

Re: Ftp useres restriction

hi,

as everyone has suggested, use ftpaccess:

http://docs.hp.com/en/B2355-90685/ch02s07.html?btnPrev=%AB%A0prev

http://docs.hp.com/en/B2355-90685/ch02s08.html?btnNext=next%A0%BB

and to restrict user to their home directory:

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062903488


regards.
what you do not see does not mean you should not believe