Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2005 16:36:59 GMT
From:      Mats Mellstrand <mats@exmandato.se>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/81364: rexecd mangels the username
Message-ID:  <200505221636.j4MGaxet097029@www.freebsd.org>
Resent-Message-ID: <200505221640.j4MGe2wQ023765@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         81364
>Category:       misc
>Synopsis:       rexecd mangels the username
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 22 16:40:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Mats Mellstrand
>Release:        5.4
>Organization:
>Environment:
FreeBSD a12.mellstrand.net 5.4-STABLE FreeBSD 5.4-STABLE #0: Sat May 21 21:18:47 CEST 2005     mats@a12.mellstrand.net:/usr/obj/usr/src/sys/GENERIC  i386
      
>Description:
I am using a windows based X11 display server, X-win-32.
When connecting to my host running FreeBSD using rexec I get the folloing in /var/log/messages:    

May 22 14:10:03 a12 rexecd[471]: pA^E^H LOGIN REFUSED from h59 

and the connection fails. 
>How-To-Repeat:
allways
      
>Fix:
in the source file, /usr/src/libexec/rexecd/rexecd.c, commenting line 198

 197  !pam_ok(pam_acct_mgmt(pamh, pam_flags)) ||
 198  /* !pam_ok(pam_get_item(pamh, PAM_USER, (const void **)&user)) || */
 199  (pwd = xgetpwnam(user, &pwd_storage, &pwdbuf,
            
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505221636.j4MGaxet097029>