Use of PAM and nologin check is redundant

Bug #83469 reported by Ryan Lovett
4
Affects Status Importance Assigned to Milestone
netkit-rsh (Debian)
Fix Released
Unknown
netkit-rsh (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When configured with PAM, in.rshd can be configured to look for or ignore /etc/nologin via pam_nologin. However, if /etc/pam.d/rsh is configured to ignore pam_nologin, rsh login can still fail since /etc/nologin is checked directly in the rshd.c source code. If netkit-rsh is configured to use PAM then nologin shouldn't be checked. (or it should be configurable)

Revision history for this message
Ryan Lovett (ryan-spacecoaster) wrote :

I tried rsh-redone-server and its rshd does the right thing. It'd be nice if netkit was fixed though.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.

Changed in netkit-rsh:
status: New → Incomplete
Revision history for this message
Ryan Lovett (ryan-spacecoaster) wrote :

Yes, this bug is still present in netkit-rsh-0.17/rshd/rshd.c line 486.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Check done => confirmed. Thanks for your time.

Changed in netkit-rsh:
status: New → Unknown
status: Incomplete → Confirmed
Changed in netkit-rsh:
status: Unknown → New
Changed in netkit-rsh (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.