PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.security.ssh > ssh and forced password changes
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

ssh and forced password changes

Réponse
 
LinkBack Outils de la discussion
Vieux 23/08/2007, 16h56   #1
bll991@yahoo.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut ssh and forced password changes

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 -

  Réponse avec citation
Vieux 27/08/2007, 22h34   #2
Darren Tucker
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ssh and forced password changes

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.
  Réponse avec citation
Vieux 27/08/2007, 22h34   #3
Darren Tucker
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ssh and forced password changes

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.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 17h59.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09809 seconds with 11 queries