- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Questions about 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
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
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
тАО02-20-2003 04:14 AM
тАО02-20-2003 04:14 AM
The question I have is a 2 part one. First, we have several FTP specific accounts which only have access to their home directory and we had a situation where those accounts have the ability to use TELNET, I would like to see if there is a way to prevent TELNET usage by certain account logins and users.
Second, What methods would you folks use to secure FTP and TELNET (NOT COMPLETELY WIPE IT OUT) on 11.00 systems.
Thanks again.
fg.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2003 04:28 AM
тАО02-20-2003 04:28 AM
Solution(make sure that this, and any other shell you want are added to the file /etc/shells)
Alternatively, you can edit the .profile/.cshrc file for the users so that it just contains
exit 0
Personally, if I want users just to have FTP access, I use both of the above (just to make absolutely certain).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2003 04:35 AM
тАО02-20-2003 04:35 AM
Re: Questions about telnet and ftp.
create a user named ftponly with required home directory But the login shell as /bin/false.
Edit /etc/shells file and put this
/bin/false.
Now the user ftponly can only use FTP but he cannot login to the server through telnet.
To secure FTP and Telnet a well kown method is to use Kerberos authentication. Almost all FTP servers and telnet daemons have kerberos support and you will have to use kerberized FTP and telnet clients to access kerberos services.
Other option is to use secure shell ssh for login and sftp server , a component of ssh
with sftp client for securing ftp.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2003 04:55 AM
тАО02-20-2003 04:55 AM
Re: Questions about telnet and ftp.
To second question:
On our productiv systems we have disabled all telnet/ftp connections and only allow access via ssh/sftp.
On systems for development we have installed an tcpwrapper to allow several connecttions via telnet/ftp
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2003 04:58 AM
тАО02-20-2003 04:58 AM
Re: Questions about telnet and ftp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2003 05:04 AM
тАО02-20-2003 05:04 AM
Re: Questions about telnet and ftp.
1) Don't give them users a shell
put /bin/false in their passwd entry
2) Install SSH from software.hp.com
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2003 06:36 AM
тАО02-20-2003 06:36 AM
Re: Questions about telnet and ftp.
1. concerning better security for ftp and telnet:
I think that you may want to look at the inetd.sec feature of HP-UX:
http://docs.hp.com/hpux/onlinedocs/B2355-90682/B2355-90682.html
This feature enables you to allow/deny any internet service based on IP addresses (or subnets). Typically, if you want to allow telnet only from the subnet 10.20.40, you'd put:
telnet allow 10.20.40.*
in the /var/adm/inetd.sec.
2. For restricting the telnet environment of your users, you may want to look at rsh or rksh, which are the standard resticted shells for HP-UX. Typically, you won't be able to cd using rsh, for instance.
3. If you want to completely deny telnet access to a user, you should use /usr/bin/false as the login shell of that user.
Hope this helps,
FiX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2003 10:59 AM
тАО02-20-2003 10:59 AM
Re: Questions about telnet and ftp.
I can respond to the ftp portion as I had the same situation in the past.
I used the following to set up a particular user as well as
DOC NR0801KBRC00007714
http://support2.itrc.hp.com/service/cki/search.do?searchString=A5651654&mode=id&submit=Search&searchCrit=allwords&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty
I think you will find what you need here as well.
Best of luck.
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2003 11:02 AM
тАО02-20-2003 11:02 AM
Re: Questions about telnet and ftp.
Thanks again to all, enjoy the points.
fg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2003 11:41 AM
тАО02-20-2003 11:41 AM
Re: Questions about telnet and ftp.
They are actually VERY EASY to replace.
Its called secure shell
https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=T1471AA&date=
You can actually set yourself up so that root user on your HP-UX without passwords between machines.
Attached is a cookbook.
To actually secure ftp and telnet, get chroot() into the user profile. That way they can't touch parts of the system other than their own home directory.
The Bastille tool, does this as sort of an expert question and answer tool, like how you do your taxes.
Here is a link....
https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=B6849AA&date=
Good Luck,
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com