Summary: Selective "No Shell" message during login

From: Orson Galvco <galvao_at_jacaranda.uescba.com.br>
Date: Fri, 14 Aug 1998 12:41:34 -0300

Wow... really fast... I received a response even before I received my
original question!

Thank to all who answered with sugestions. Their responses are below.

Special thanks to Mr. V.S. Glukhov that pointed out the only thing I had
not thougth about... an extra blank after /bin/ksh at the /etc/passwd.


Below my original question and all responses.

        Once more, many thanks to all.

        Orson Voerckel Galvco

        Universidade Estadual de Santa Cruz
        Ilhius - Bahia - Brazil

Original question:
-------------------
Hello managers:

I have a strange proplem. Some users, on logging in, get a 'No Shell'
message after authentication. We all use /bin/ksh. The users entries at
/etc/passwd are OK.

I have neither /etc/securetty and /etc/nologin files.

Some users can login normally.

To bring users in trouble to a normal status I must remove keeping their
files and directories. After making an adduser, afected users can access
the system normally.

I have already deleted and reconstructed hash passwd files but the
problem persists.

        TIA

        Orson Voerckel Galvco
        Universidade Estadual de Santa Cruz
        Ilheus - Bahia - Brazil

My Addendum:
-------------
Sorry managers:

I forgot to say that the entry att /etc/shell is OK, and that csk, cs
and ksh are all there. The ksh pernissions are OK (755). owner and group
are bin & bin.

        Thanks to Mr Dimitoglou that remembered me about this details.

The answers:
-------------
>From G. Dimitoglou

Go in to /etc/shells and add the shell you are using.

George


>From Dan Roscigno

Is /bin/ksh in the /etc/shells file? Also is /bin/ksh owned
by a particular group and only executable by the owner and
group, or is it +x for everyone?


>From V. S. Gluckhov

Look if there is an extra space in the last field of /etc/passwd:
'/bin/ksh ' or '/bin/ksh' ?

VSG

>From Dr Thomas P. Blinn

Make sure that all of the paths used in /etc/passwd are listed in the
file
/etc/shells, exactly as they are listed in /etc/passwd.


>From Roger Picard


 Any strange path modifications in .login .profile like a remote
        path that goes away periodically?
---------------------------------------------------------------------
Summary End
---------------------------------------------------------------------
Received on Fri Aug 14 1998 - 15:40:18 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT