[Tickets #2550] NEW: Support for /bin/passwd being login shell
bugs@bugs.horde.org
bugs at bugs.horde.org
Sat Sep 3 07:25:39 PDT 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=2550
-----------------------------------------------------------------------
Ticket | 2550
Created By | lmamane at debian.org
Summary | Support for /bin/passwd being login shell
Queue | Passwd
Version | 3.0-BETA
State | New
Priority | 1. Low
Type | Enhancement
Owners |
+New Attachment | passwd-h3_passwd-shell.patch
-----------------------------------------------------------------------
lmamane at debian.org (2005-09-03 07:25) wrote:
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.
More information about the bugs
mailing list