- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Another telnet problem: single user not able to au...
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
тАО01-31-2003 12:17 PM
тАО01-31-2003 12:17 PM
Another telnet problem: single user not able to authenticate.
Plenty of RAM and processors.
Having a problem with telnet. Here's a little background.
Decided to test a few things: One, we modified our hosts.allow file to retrict a certain machine from using the telnet service.
Entry looked like the following:
telnetd :DENY IP ADDRESS (first line in file)
after the change I did a /usr/sbin/inetd -c
Telnet was denied from that machine, which is what we wanted to see.
Two, I reversed the operation and enabled that IP address to come in. (removed above said line, completely)
I did another /usr/sbin/inetd -c
User tried to log on machine; it failed after typing in his CORRECT password. I also tried from his machine and it let me in.
Now /etc/hosts.allow is set to allow all telnet from the subnet he is located on.
Three, I've checked everything I can think of:
/var/adm/inetd.sec looks fine and no mention of restricting telnet. I do have echo and chargen set to deny in that file, for what its worth.
"netstat -a" shows me that telnet is listening.
Said user's shell is listed in /etc/shells file
There doesn't seem to be a problem with the telnet kernel parameters either. We only have, at the most, 1 or 2 telnet users coming into the box. Must of us use ssh to come in.
Additionally, his telnet connection is being logged. But no errors are produced. User cannot log in from other workstation to server, either. It's a strange problem and I've run out of things to check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2003 12:22 PM
тАО01-31-2003 12:22 PM
Re: Another telnet problem: single user not able to authenticate.
1)Check that user's shell definition in the /etc/passwd file.
2) Run pwck to verify the integrity of the passwd file
Has to be user specific.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2003 12:27 PM
тАО01-31-2003 12:27 PM
Re: Another telnet problem: single user not able to authenticate.
Just ran the pwck utility and the passwd file checked out fine. So does the users entry in the passwd file. His shell is: /usr/bin/sh
Any other ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2003 12:36 PM
тАО01-31-2003 12:36 PM
Re: Another telnet problem: single user not able to authenticate.
What message do you receive on the workstation?
Are you running SSH on this system?
Run inetd -l to turn up the logging level & try again.
Don't forget to turn it off (inetd -c) after checking as it'll really fill syslog.log
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2003 12:43 PM
тАО01-31-2003 12:43 PM
Re: Another telnet problem: single user not able to authenticate.
Logging had already been on so I see him connnect and then nothing else in the log.
The machine has also been rebooted, but not a result of this.
Yes, we are running ssh. The sshd2_config was modified to restrict his username. But I reversed all that. And anytime I make a change to the ssh config files, I issue a kill -HUP on the pid file. He is able to ssh in. This was all done before the reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2003 12:44 PM
тАО01-31-2003 12:44 PM
Re: Another telnet problem: single user not able to authenticate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2003 12:44 PM
тАО01-31-2003 12:44 PM
Re: Another telnet problem: single user not able to authenticate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2003 12:45 PM
тАО01-31-2003 12:45 PM
Re: Another telnet problem: single user not able to authenticate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2003 12:57 PM
тАО01-31-2003 12:57 PM
Re: Another telnet problem: single user not able to authenticate.
If you're using hosts.allow then you're using tcpwrapper - correct?
What's in the hosts.deny file?
What does tcpdchk return?
If all else checks out - try setting a new PW for that user.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2003 01:26 PM
тАО01-31-2003 01:26 PM
Re: Another telnet problem: single user not able to authenticate.
Don't have tcpdchk on machine.
I'll have the user reset his passwd to something else. Let you know what happens.
thanks so far.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2003 03:59 AM
тАО02-01-2003 03:59 AM
Re: Another telnet problem: single user not able to authenticate.
It's silly idea, but such behaviour of login happens when user is trying to login with UID 0, /etc/securetty file exist and does not contain record about tty which use for the telnet connection.