Re: ssh and forced password changes
- From: Darren Tucker <dtucker@xxxxxxxxxxxxxxxx>
- Date: Tue, 28 Aug 2007 07:34:35 +1000
On 2007-08-23, bll991@xxxxxxxxx <bll991@xxxxxxxxx> wrote:
I have a wrapper on my password that prints out directions to my
users. This works with everything other than ssh. When using ssh the
directions do not print out, and the user is dropped right into the
passwd command. What am I doing wrong?
Which SSH implementation and version are you using?
Also, are you using PAM? If so, the SSH daemon will probably use the
pam_chauthtok() function (OpenSSH does, not sure about others). In
that case your wrapper is never invoked, but you can get a similar
effect by adding something like pam_echo to the "password" stack that
sshd uses.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
.
- References:
- ssh and forced password changes
- From: bll991
- ssh and forced password changes
- Prev by Date: Re: SSH and Client Lease Time?
- Next by Date: Re: sshd and redhat 6.2 (!)
- Previous by thread: ssh and forced password changes
- Next by thread: resume broken transfers using rsync
- Index(es):
Relevant Pages
|