- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Block Telnet and FTP
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2005 05:57 PM
10-05-2005 05:57 PM
I have 9i Rac database(9.2.0.5) with HP-UX platform. I dont want any of my end users to use FTP and Telnet accept few recomanded once.
Is there any way with which i can block Telnet and FTP for all users and just allow 2 to 3 people to use these feature.
Regards
Musaddaq
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2005 06:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2005 06:05 PM
10-05-2005 06:05 PM
Re: Block Telnet and FTP
-- /etc/profile
# Telnet blocking
ps | grep -q 'telnet'
if [ $LOGNAME != "root" || $LOGNAME != "musad" || $LOGNAME != "test" ]
then
echo "User login with telnet is not allow to $LOGNAME user"
echo "Contact @ ..."
sleep 5
exit 1
fi
To block user basis in ftp then,
/etc/ftpd/ftpusers
Put user name with this file and restart ftpd(aemon).
See more in ftpusers man page.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2005 06:08 PM
10-05-2005 06:08 PM
Re: Block Telnet and FTP
To block ftp users is easy, use the /etc/ftpd/ftpusers and add the user you allow to use ftp.
Restricting telnet is more difficult.
Check this link for more info.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbdb879bffde7d4118fef00902
79cd0f9,00.html
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2005 06:49 PM
10-05-2005 06:49 PM
Re: Block Telnet and FTP
http://www.xinetd.org/
You can download for HP-UX from
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2005 08:08 PM
10-05-2005 08:08 PM
Re: Block Telnet and FTP
Telnet you can be restricted according to IP address also.
the file is /var/adm/inetd.sec
ftp can be restricted in /etc/ftpd/ftpusers
add the login name in this file for those users you want to deny ftp access.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2005 08:51 PM
10-05-2005 08:51 PM
Re: Block Telnet and FTP
You can also use tcp wrapper for restricting or allowing telnet or ftp access on your machine.
Here is the link for free SW:
http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/tcp_wrappers-7.6/
Regards,
Borislav