1847276 Members
3344 Online
110263 Solutions
New Discussion

ftpaccess

 
SOLVED
Go to solution
jerry1
Super Advisor

ftpaccess

Well, I have set this up before but can't
remember how and the docs don't hold true.

All I require is to setup an ftp user account
and limit them to read only and no cd out of
the home path specified in /etc/passwd.

user1:ddd:100:10:user ftp account:/ftp/./read_dir:/etc/ftponly

The /./ does not work.
And I can't find anything in the man for
disabling "ls" for user1 and what needs to
go in ftpaccess for user1 if at all.

What's missing??
4 REPLIES 4
jerry1
Super Advisor

Re: ftpaccess

NEVER MIND. NEEDED guestgroup.

Delete this message.
常有慈悲心
Regular Advisor
Solution

Re: ftpaccess

Michael Selvesteen_2
Trusted Contributor

Re: ftpaccess

Hello,

If your Server has HP Secure Shell, You can easily do this with chroot.

Chroot disallows an user to traverse above a specified path. Chroot setup is pretty simple and it is more secure than normal ftp as it provides the power of SSH.

Refer

http://docs.hp.com/hpux/internet/index.html#HP-UX%20Secure%20Shell

For more information.


If you are in need of FTP only

refer

http://howtos.linux.com/guides/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/chap29sec296.shtml


Hope this helps
--
M
Paul Torp
Regular Advisor

Re: ftpaccess

in /etc/shells add /usr/bin/false

set the shell to /etc/bin/false for the user
and add a /./ in the homedir in the pwd file.

and do the guestgroup thing u wrote u'rself.

-paul
"sendmail is kind of fun..."