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

Scott Doty scott at sonic.net
Tue Jul 25 21:03:23 PDT 2006


On Tue, Jul 25, 2006 at 08:53:22PM -0700, Scott Doty wrote:
> 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" ...

<disclaimer>
I sent this from my "corp" address, but I was speaking for only myself, not
my employer...
</disclaimer> 

:)

 -Scott



More information about the talk mailing list