On 2007-01-15 10:08:51 -0500 Adrian von Bidder <[EMAIL PROTECTED]> wrote:

On Monday 15 January 2007 10:26, Berend De Schouwer wrote:

You could set the passwords for a, b, c, and d to some invalid hash
in /etc/passwd, so no password will actually work, but public keys do
work.  Like ubuntu does with 'root' in the default install.

Good idea, except that I need a valid password for access via imaps :-(

I guess you could make ssh use something like libpam-pwdfile or libpam-dotfile instead of instead of pam_unix for authentication, so that it will use a file other than /etc/passwd, and you can keep the old passwords for imaps.

--
Hubert Chan <[EMAIL PROTECTED]> -- Jabber: [EMAIL PROTECTED]
PGP/GnuPG key: 1024D/124B61FA         http://www.uhoreg.ca/
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to