6.0.0-beta1
8/3/25

[#2550] Support for /bin/passwd being login shell
Summary Support for /bin/passwd being login shell
Queue Passwd
Queue Version 3.0-BETA
Type Enhancement
State Resolved
Priority 1. Low
Owners Horde Developers (at)
Requester lmamane (at) debian (dot) org
Created 09/03/2005 (7274 days ago)
Due
Updated 09/13/2005 (7264 days ago)
Assigned 09/04/2005 (7273 days ago)
Resolved 09/13/2005 (7264 days ago)
Milestone
Patch No

History
09/13/2005 10:19:02 PM Jan Schneider Comment #2
State ⇒ Resolved
Reply to this comment
Committed, thanks.
09/04/2005 01:02:56 AM Chuck Hagenbuch Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
 
09/03/2005 02:25:38 PM lmamane (at) debian (dot) org Comment #1
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Support for /bin/passwd being login shell
Queue ⇒ Passwd
New Attachment: passwd-h3_passwd-shell.patch Download
Reply to this comment
Some admins use the following hack in order not to give shell access 
to mail-only users, but still give them a venue for changing their 
password securely (through ssh): They just set the login shell to 
/bin/passwd . In this way the user can "ssh in" and gets dumped into 
the password changing application immediately, and can do nothing else 
with his "ssh account". Crude, but works well.



This patch adds support for this situation to the passwd expect 
script. It is forward-ported from my patch to passwd version 2.2.1 and 
I can't formally test it as I don't have a working Horde3 install yet, 
but the code looks similar enough that I'm confident it will work as 
well.

Saved Queries