1830899 Members
2306 Online
110017 Solutions
New Discussion

FTP Permission

 
Shahul
Esteemed Contributor

FTP Permission


Hi

I have an HP system with Oracle. There is a volume called "mnt2" which is used for oracle. Its permission is like this

drwxrwxrwx root oracle mnt2

For successfull oracle operation its permission should be like this. But my problem is, now any user can ftp from or to this directory. I want to restrict this. only root should be allowed to do ftp from or to "mnt2".
can anybody give me some solution?? Expecting ur responses

Thanks in advance
Shahul
5 REPLIES 5
Kenny Chau
Trusted Contributor

Re: FTP Permission

Hi,

You can try to restrict ftp users in /etc/ftpd/ftpusers file so that others can not ftp but only root.


Hope this helps.
Kenny.
Kenny
Michael Tully
Honored Contributor

Re: FTP Permission

Hi,

Probably the best tool for you is wu-ftpd. You can get an already compiled version from the porting centre.

http://hpux.connect.org.uk/hppd/hpux/Networking/FTP/wu_ftpd-2.6.1/

There was a similar discussion here:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x54c8a2db8513d6118ff40090279cd0f9,00.html

Here is a link to a FAQ page
http://www.wu-ftpd.org/wu-ftpd-faq.html

HTH
-Michael
Anyone for a Mutiny ?
Hooi Siew Hoong_1
Frequent Advisor

Re: FTP Permission

Hi,

Configuring ftp permission on /etc/ftpd/ftpusers will restrict users on a system wide basis. Default UNIX will not able to restrict ftp access you required, I would suggest some third party software or programs.
Sanjay_6
Honored Contributor

Re: FTP Permission

Hi,

You can use ftpaccess to restrict the ftp access to the system and to any directory you want. Try this link to know how to configure ftpaccess (resticted ftp access),

http://us-support3.external.hp.com/cki/bin/doc.pl/sid=75a38bdb0c1d174d93/screen=ckiDisplayDocument?docId=500000000092476

Also do a "man ftpaccess" to learn more about the same.

Hope this helps.

Regds
Shahul
Esteemed Contributor

Re: FTP Permission

Hi

Thanks for the immediate replies. But, If I add entry in ftpusers file, That user will never be able to do ftp. I don't want to do like this. I want to restrict users doing ftp from or to mnt2 directory. They should be able to do ftp from other directories. What is the easy solution for this????

Thanks in advance
Shahul