[NBLUG/talk] * password in /etc/shadow

Scott Doty scott at corp.sonic.net
Tue Jul 25 20:53:22 PDT 2006


On Tue, Jul 25, 2006 at 05:43:00PM -0700, Walter Hansen wrote:
> I want to configure a user for key auth only. Is replacing the password
> hash in /etc/shadow with * what I want?

That will work, but restricts the services they can use to those that don't
need a password (i.e., public key authentication).

Also, take a peek at the "PasswordAuthentication" and "PermitRootLogin"
directives in "man sshd_config" ...

 -Scott



More information about the talk mailing list