Re: 'could not open session'



On Sat, 08 Jul 2006 10:27:58 +0200, Jan Gerrit Kootstra
<jan.gerrit@xxxxxxxxxxxxxxx> wrote:

Tim Boyer wrote:
I've just done an upgrade from RHEL3 to 4, and have run into the strangest
thing.

I can't log in from the console. Every login attempt with the correct password
gives the message 'could not open session'.

I can ssh in, and enter a username and password. But from there, I can't su to
anybody - root, or another user. 'could not open session'.

Booting to single user mode gives me root, but as soon as I do a su - you
guessed it.

I can do a sudo.

I enabled telnet, just to see what happens:

login: tim
Password:

Permission denied
Connection closed by foreign host.


Permission problem, I think - but _where_??
Tim,


I would first look for the pam modules.



Greetings,


Jan Gerrit Kootstra

Yup, I did. Syslog is logging successful attempts, so it can't be pam - that
just handles authentication. But just to be sure, I've got three identical
systems here - I moved the modules from a working one over.

--
tim boyer
tim@xxxxxxxxxxxxxx
.



Relevant Pages

  • Re: could not open session
    ... Tim Boyer wrote: ... Every login attempt with the correct password ... gives the message 'could not open session'. ...
    (linux.redhat)
  • Re: could not open session
    ... Every login attempt with the correct password ... gives the message 'could not open session'. ... so I had to disable SElinux. ...
    (linux.redhat)
  • Re: could not open session
    ... Every login attempt with the correct password ... gives the message 'could not open session'. ... so I had to disable SElinux. ...
    (linux.redhat)
  • Re: Please! Doesnt anyone know a better way to do this?
    ... account, they need to automatically be directed to the page to enter data ... session variable on the Account page. ... I assume here that you're checking a database when the user attempts to ... When a new user attempts to login or clicks to register, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: nooB PhP login using MySQL
    ... This PC has MySQL and IIS configured and running. ... how do I prevent users from bypassing the login? ... create a random string and store in session on server, ... euphemism for md5) but now that there are secure ways, ...
    (comp.lang.php)