Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Per-user public key/password selection possible? |
|---|---|
| Date: | Wed, 2 Nov 2005 09:46:16 +0100 |
On a HP-UX 11 system we have an account that was created by a script, with a locked account - i.e. a "*" in /etc/password to prevent logging in to this account with password authentication. Could it still be possible to log in with ssh using pubkey authentication?
it works on linux, it may work on your system. I suppose your system is not using /etc/shadow Be sure that your user has a valid shell in /etc/passwd If you're using /etc/shadow, you may have a "x" in /etc/passwd (like every regular user) and something like a "*" or "!" in /etc/shadow (not sure this is necessary, but it works for me) e.g., to have an user nammed "save", used in automatique backup replication (fish) : /etc/passwd: save:x:108:108:,,,:/home/save:/bin/bash /etc/shadow: save:!:13030:0:99999:7::: Cheers, -- Raphaël Marichez raphael.marichez@polytechnique.org
pgp6VTIkvThF1.pgp
Description: PGP signature
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: SFTP, inode0 |
|---|---|
| Next by Date: | Re: Per-user public key/password selection possible?, Greg Wooledge |
| Previous by Thread: | Per-user public key/password selection possible?, Bjorn Steensrud |
| Next by Thread: | Re: Per-user public key/password selection possible?, Greg Wooledge |
| Indexes: | [Date] [Thread] [Top] [All Lists] |