Operating System - HP-UX
1833325 Members
2870 Online
110051 Solutions
New Discussion

disabling ftp & telnet for single user.......

 
SOLVED
Go to solution
ln_unix
Frequent Advisor

disabling ftp & telnet for single user.......

Hi All,

Is there any way, that we can disable ftp n telnet for a single user.
If it exists help me to get this answer....

Thanx in advance........

Regards,

Lokesh........
2 REPLIES 2
Tim Nelson
Honored Contributor
Solution

Re: disabling ftp & telnet for single user.......

-put username in /etc/ftpd/ftpusers
-set shell in /etc/passwd for this user to /usr/bin/false

Not sure what else they are going to be able to do, without a description of what this user needs for UNIX services the effects of doing the above are unknown.


Akram Shaik
Frequent Advisor

Re: disabling ftp & telnet for single user.......

As suggested by Tim for ftp access it will do ,

not sure for telnet access restriction. Just for your info You can deny hosts to do telnet by Customizing the /var/adm/inetd.sec file to selectively allow or deny telnet access to various hosts on the network.

Telnet allow 128.1.*.* 128.2.1-8.* host1 host2 host3 host4


regards
when everyting is coming your way then you are in the wrong lane