tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: Selective "No Shell" message during login
@ 1998-08-14 15:41 Orson Galvco
  0 siblings, 0 replies; only message in thread
From: Orson Galvco @ 1998-08-14 15:41 UTC (permalink / raw)
  To: tru64-unix-managers

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
---------------------------------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-08-14 15:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-14 15:41 Summary: Selective "No Shell" message during login Orson Galvco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox