[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Removing password-based auth for login



Stephen Tait wrote:

> I have a bunch of users that have now been set up to use SSH keys for all
> login purposes; however, they currently have password based auth as well,
> and I'm unsure how to turn it off just for these users

> Is it just a simple matter of deleting the appropriate entries (i.e.
> changing sync:$1$6dsbjkfdbfjkdbfdjkdbkjgobbeldekgook:34692:0:999999:7:::
> to sync:*: etc etc...) in /etc/shadow and /etc/shadow-?

Yes, though just in /etc/shadow.

Adam



Reply to: