1834501 Members
2316 Online
110068 Solutions
New Discussion

WRQ SSH2 INSTALLATION

 

WRQ SSH2 INSTALLATION

We have installed WRQ SSH2 Rev 6.0.0.1 but only user root is able to logon. An attempt to use telnet with an ordinary user gives a "No Shell" error message. This is still happening even after uninstalling SSH2. My OE is 11i. Please assist.
9 REPLIES 9
Muthukumar_5
Honored Contributor

Re: WRQ SSH2 INSTALLATION

I hope it is problem with that user's /etc/passwd file.

Go to the machine and see /etc/passwd related details for that specific user.

No Shell is nothing but that specific binary is not available.

Example: /sbin/muthu/ksh like that.

hth.
Easy to suggest when don't know about the problem!

Re: WRQ SSH2 INSTALLATION

In fact I have checked the user settings and have even deleted and recreate users and even changed shell programs from /usr/bin/sh to /usr/bin/ksh but the results are the same.
Muthukumar_5
Honored Contributor

Re: WRQ SSH2 INSTALLATION

Check these for that user:

1. Is all shells in /etc/shells file
2. what is saying for,

ls -l /usr/bin/ksh /usr/bin/sh

Is there any link to that.

3. Is /usr file system mounted?

hth.
Easy to suggest when don't know about the problem!
AwadheshPandey
Honored Contributor

Re: WRQ SSH2 INSTALLATION

check ur /etc/passwd file for users shell's entry, make a new user then try for it.

Awadhesh
It's kind of fun to do the impossible
Sยภเl Kย๓คг
Respected Contributor

Re: WRQ SSH2 INSTALLATION

Hi,
Try login to root first, do an su - and try. Is it working. Do u find any thing abnormally with /etc/passwd file.

Regards,
Sunil
Your imagination is the preview of your life's coming attractions

Re: WRQ SSH2 INSTALLATION

All proposed solutions have been checked but I am still in the woods. A comparison with the other running box reveals no differences.
Anything else I can check?
Muthukumar_5
Honored Contributor

Re: WRQ SSH2 INSTALLATION

Try this:

Login as root,

# su -

Are you getting same error for that user.

Can you post,

# user account informations as,

# logins -uax for that user.

ls -l
what

what are you getting.

PS: Post the informations without saying as you've tried that. It will be good to pin-point the problem.
Easy to suggest when don't know about the problem!

Re: WRQ SSH2 INSTALLATION

Here are my postings
nbmdrc : / # su - bmchk
su: No shell
nbmdrc : / # ls -l /usr/bin/ksh
-r-xr-xr-x 2 bin bin 151552 Nov 14 2000 /usr/bin/ksh
nbmdrc : / # what /usr/bin/ksh
/usr/bin/ksh:
$Revision: B.11.11_LR
Wed Nov 8 19:55:23 PST 2000 $
$ B.11.11_LR Oct 27 2000 00:40:10 $
Version 11/16/88
nbmdrc : / #

Entry from /etc/passwd for user bmchk

bmchk:*:102:102:Christopher K. Chilenga,Technical Support,01 643 796,01 674 714:/bankmaster/kindle1/bm:/usr/bin/ksh

Cherio
Michael Warren Ogle
Occasional Contributor

Re: WRQ SSH2 INSTALLATION

If root is the only one able to get in, check permission on /etc, /etc/password, and /etc/group. The permissions on /etc should be r-xr-xr-x and the permissions on password and group should be r--r--r--.