|
|
|
|
||||||
| comp.security.ssh SSH secure remote login and tunneling tools. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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? Thanks - |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On 2007-08-23, bll991@yahoo.com <bll991@yahoo.com> 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. |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On 2007-08-23, bll991@yahoo.com <bll991@yahoo.com> 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. |
|
![]() |
| Outils de la discussion | |
|
|