1837091 Members
2340 Online
110112 Solutions
New Discussion

ftp and telnet restrict

 
chin hyeon jung
Advisor

ftp and telnet restrict

Hi,
I want to make user (not anonymous or guest).
A user has only priveledge of ftp; this user canot upload or telnet .
B user has A's priveledge plus upload (in other word this user can down and upload but can't telnet )
C user has only use telnet(this user can't ftp)
How configure or have some exam?
4 REPLIES 4
Michael Tully
Honored Contributor

Re: ftp and telnet restrict

Hi,

1. Have a look here: http://hpux.connect.org.uk/hppd/hpux/Networking/FTP/wu_ftpd-2.6.1/

2. Set up /usr/bin/false as the users default shell

3. telnet user:
Make sure the user has an entry in /etc/ftpd/ftpusers There is a man page for this

HTH
~Michael~
Anyone for a Mutiny ?
Klaus Crusius
Trusted Contributor

Re: ftp and telnet restrict

have a look into the man page of 'ftpd'. On hpux11 you will have the possibility to configure the ftp users at your will.

Regards, Klaus
There is a live before death!
Sanjay_6
Honored Contributor

Re: ftp and telnet restrict

Hi,

If you are using 11.0 or above, try ftpaccess. Do man ftpaccess to learn more about it. Take a look at the thread below on how to configure ftpaccess,

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

Hope this helps.

Regds
Rita C Workman
Honored Contributor

Re: ftp and telnet restrict

Well to restrict ftp privileges so that a user can only go to their files you can use ftpaccess and do a chroot.
Here's one thread on the subject:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd5ab53921f1ad5118fef0090279cd0f9,00.html

Now for restricting certain users from telnet or from ftp..I would probably define something like that in my ~/inetd.sec file with:

telnet deny
ftp deny

Just a thought,
Rita