Solaris UseLogin problems

Wendy Palm wendyp at cray.com
Thu Apr 5 09:25:07 EST 2001


i'd like to add my support to including this mod.  unicos machines
need the utmp entry before login is called also.  since unicos uses
a database for user information, there are a lot of things that
i had to add to openssh for logging in that would be best done with
login() itself.  this modification elimated a lot of udb code.

thanks,
wendy


Wayne Davison wrote:
> 
> I'm using openssh 2.5.2p2 on Solaris-x86 2.6.  I ran into a couple
> problems when I set UseLogin to "yes":
> 
> The big one seems to have been reported before: login refuses to run
> without a utmpx entry.  This problem appears to have been caused by
> the changes in revision 1.24 of session.c.  Before this revision, the
> record_login() function was always called, no matter how UseLogin was
> set (FYI, the comment for revision 1.24 is "cleanup login(1)-like
> jobs, no duplicate utmp entries".)
> 
...
> What I did not notice was any problems with duplicated wtmpx entries
> like Matt did.
> 
> Matt:  What was the symptom you noticed that made you add the code to
> loginrec.c?  Duplicated entries when running "w"?  Or something else?
> 
> ..wayne..
> 

-- 
wendy palm
Cray OS Sustaining Engineering, Cray Inc.
wendyp at cray.com, 651-605-9154



More information about the openssh-unix-dev mailing list