misc/81364: rexecd mangels the username

Mats Mellstrand mats at exmandato.se
Sun May 22 16:40:04 GMT 2005

>Number:         81364
>Category:       misc
>Synopsis:       rexecd mangels the username
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 22 16:40:02 GMT 2005
>Originator:     Mats Mellstrand
>Release:        5.4
FreeBSD a12.mellstrand.net 5.4-STABLE FreeBSD 5.4-STABLE #0: Sat May 21 21:18:47 CEST 2005     mats at a12.mellstrand.net:/usr/obj/usr/src/sys/GENERIC  i386
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. 
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,

More information about the freebsd-bugs mailing list