Web lists-archives.com

Re: ssh




On Mon, Nov 19, 2018 at 09:43:29AM -0500, Jim Popovitch wrote:
On Mon, 2018-11-19 at 08:38 -0500, Michael Stone wrote:
On Mon, Nov 19, 2018 at 08:32:09AM -0500, Greg Wooledge wrote:
> If you're only going to login to the account using ssh keys, you
> don't need to give it a valid password hash at all.  Just put a
> string of rubbish (English words qualify) in the hash field of
> /etc/shadow.

Don't do that. Just use a *.

Something that's always bugged me... is there any difference between
using * or ! (both are valid)?

! locks the account, * is a convention that means "no password".