Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot telnet as normal user

Status
Not open for further replies.

sbarto

Programmer
Jun 27, 2002
3
GB
I am able to telnet as root but not as any other user. typing telnet just brings back the command line - no error message or attempt to telnet. Can any one help please? Many thanks :)
 
Are you sure you are picking up the /usr/bin/telnet that gets installed from bos.net.tcp.client, and not a wrapped version?

If so, maybe a buggy version of bos.net.tcp.client ???
 
I've tried entering the full pathname for telnet (/usr/bin/telnet) and get the same result so I think (!) I'm picking up the same version as when I'm logged on as root.
 
I'd probably:
lslpp -Jw /usr/bin/telnet
just to make sure that telnet has been installed as part of bos.net.tcp.client.

Then I'd have a look at the version / history, and see if it has been superceded on IBM's APAR database.

Bear in mind I'm going down one route here. It could be something totally different, like incorrect permissions settings or something else.
 
Here is what I would try:

Make sure telnet is started as part of the inetd by checking /etc/inetd.conf.

Check to make sure the shell that is specified for the user in /etc/passwd is a valid shell and that the path to the shell is stated correctly. Valid shells are listed in the /etc/shells file. And make sure the shells are really in the directories as stated in /etc/shells.



 
Cheers for the tips guys but still no joy I'm afraid.
 
Just a random throw-out: what is your maximum number of licensed users, and are you hitting it?

I know this only makes sense for incoming connections from telnetd, but the manpage for telnet does mention this.
 
Last time this happened to me, it was due to improper permissions on a file... uh... /etc/security/something? It happened when someone had taken on an incorrect umask when updating bos.rte.security to .76 and the permissions were wrong. I know that is vague but perhaps it rings a bell. IBM Certified -- AIX 4.3 Obfuscation
 
Can anyone other than root "ftp" to this machine?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top