1834780 Members
2820 Online
110070 Solutions
New Discussion

ftp user

 
SOLVED
Go to solution
rana786
Regular Advisor

ftp user

Hi all,

I need to create a ftp user preventing telnet. He will only get access to his home directory. Can anyone help me?

Rgds,
Rana
Walker_dhk
8 REPLIES 8
Arunvijai_4
Honored Contributor

Re: ftp user

Hi Rana,

Here is a great thread for creating ftponly account.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=25480

[Read Sebastin's reply]

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

Re: ftp user

Use restricted ksh as shell type to that user so that user can able to access only his home directory.

Do you want to block ftp user to use telnet then block it with /etc/profile with your previous. thread response.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: ftp user

More threads,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=964808

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=942006
[How to create restricted sftp account ?]

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

Re: ftp user

Another way is to setup the /etc/passwd entry as,

guest1::100:92:Guest Account:/ftp/./incoming:/etc/ftponly

When guest1 successfully logs in, the ftp server will chroot
(/ftp) and then chdir (/incoming). The guest user will only be
able to access the directory structure under /ftp (which will
look and act as / to guest1), just as an anonymous FTP user
would.

Change this to suit your requirement.

that control to login with guest1 with telnet. Try to put /etc/ftponly in /etc/shells file.

--
Muthu
Easy to suggest when don't know about the problem!
Devender Khatana
Honored Contributor

Re: ftp user

Hi,

This can be achived by ftp only accounts.

#man ftpaccess

HTH,
Devender
Impossible itself mentions "I m possible"
Arunvijai_4
Honored Contributor

Re: ftp user

http://docs.hp.com/en/B2355-60127/ftpaccess.4.html

Take a look at this page for more information on ftpaccess.

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

Re: ftp user


Hi,

PLease chech the following document,

Creating an FTP-Only User Account -

http://medstat.med.utah.edu/medstat_ops/node24.html


With Regards,

Siva.
Nothing is Impossible !
rana786
Regular Advisor

Re: ftp user

Its ok.
Walker_dhk