- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- telnet security
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-03-2006 09:06 PM
10-03-2006 09:06 PM
for security reason,how can I deny a certain user telnet from a host to all other hosts?modify only can do in this host,any idea?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2006 09:30 PM
10-03-2006 09:30 PM
Re: telnet security
the only way I know of and I have never used it in a real environment, is to create an ACL for the telnet command:
setacl -m user:fred:--- /usr/bin/telnet
This will give the user fred a message of "Permissions denied" when he issues the telnet command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2006 12:14 AM
10-04-2006 12:14 AM
Re: telnet security
If you are unable to use ACLs, you could create a telnet wrapper script.
#!/usr/bin/sh
TELNET=/obfuscated/path/to/telnet
DENIED_USER=user1
[[ "$(whoami)" = "${DENIED_USER}" ]] && echo "telnet denied" || ${TELNET}
exit
Move the telnet binary to an obscure directory that's not listed in ${PATH}. Save the script as /usr/bin/telnet.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2006 02:31 PM
10-04-2006 02:31 PM
Re: telnet security
but if the user ftp in a new telnet program,all modify will not work. anyway it works for rookies well. lol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2006 03:42 AM
10-05-2006 03:42 AM
SolutionI think you're only option is to use something like a restricted-shell for that user with a very carefully-crafted white-list of commands.
That said... I think your requirement may be going about it the wrong way. In general, the best security solutions rely on the resource to protect itself (in your case the hosts that you don't want the user to access). Going the other way around is asking for trouble... as one simple example illuminates...
Say you do a bunch of work to restrict telnet... the user plugs a laptop into a port on your network... and accesses the servers...
I'd think carefully about the threat you're trying to protect against, before investing in what could turn out to be a brittle solution.
Hope that helps,
-Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2006 01:22 PM
10-05-2006 01:22 PM
Re: telnet security
thanks all