Ticket #13092 (assigned defect)
OpenSSH authentication broken on Leopard (PAM unable to create session)
| Reported by: | callahad@… | Owned by: | jwa@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.5.0 |
| Keywords: | Cc: | dan.callahan@… | |
| Port: | openssh |
Description
OpenSSH's PAM module fails after authentication, preventing login.
Log from sshd -ddd:
debug3: PAM: opening session PAM: pam_open_session(): Cannot make/remove an entry for the specified session debug1: PAM: establishing credentials debug1: permanently_set_uid: 501/20 debug2: set_newkeys: mode 0 debug2: set_newkeys: mode 1 debug1: Entering interactive session for SSH2. debug2: fd 5 setting O_NONBLOCK debug2: fd 6 setting O_NONBLOCK debug1: server_init_dispatch_20 debug1: server_input_channel_open: ctype session rchan 0 win 1048576 max 16384 debug1: input_session_request debug1: channel 0: new [server-session] debug1: session_new: init debug1: session_new: session 0 debug1: session_open: channel 0 debug1: session_open: session 0: link with channel 0 debug1: server_input_channel_open: confirm session debug1: server_input_channel_req: channel 0 request pty-req reply 0 debug1: session_by_channel: session 0 channel 0 debug1: session_input_channel_req: session 0 req pty-req debug1: Allocating pty. debug3: mm_request_send entering: type 25 debug3: mm_pty_allocate: waiting for MONITOR_ANS_PTY debug3: mm_request_receive_expect entering: type 26 debug3: mm_request_receive entering debug3: monitor_read: checking request 25 debug3: mm_answer_pty entering debug1: session_new: init debug1: session_new: session 0 lastlog_filetype: Couldn't stat /var/log/lastlog: No such file or directory lastlog_openseek: /var/log/lastlog is not a file or directory! lastlog_filetype: Couldn't stat /var/log/lastlog: No such file or directory lastlog_openseek: /var/log/lastlog is not a file or directory! debug3: mm_request_send entering: type 26 debug1: session_pty_req: session 0 alloc /dev/ttys008 debug3: tty_parse_modes: SSH2 n_bytes 251 debug3: tty_parse_modes: ospeed 9600 debug3: tty_parse_modes: ispeed 9600 debug3: tty_parse_modes: 1 3 debug3: tty_parse_modes: 2 28 debug3: tty_parse_modes: 3 127 debug3: tty_parse_modes: 4 21 debug3: tty_parse_modes: 5 4 debug3: tty_parse_modes: 6 255 debug3: tty_parse_modes: 7 255 debug3: tty_parse_modes: 8 17 debug3: tty_parse_modes: 9 19 debug3: tty_parse_modes: 10 26 debug3: tty_parse_modes: 11 25 debug3: tty_parse_modes: 12 18 ttys008 ptyfd 4 debug3: mm_request_receive entering
Attachments
Change History
Changed 6 years ago by callahad@…
- Attachment sshdpam.txt added
comment:5 Changed 5 years ago by wsiegrist@…
- Owner changed from wsiegrist@… to macports-tickets@…
- Status changed from assigned to new
Un-assigning ticket due to time constraints
Note: See
TracTickets for help on using
tickets.


sshd's pam authentication failing to create a session