Re: public key-only accounts

2017-11-22 Thread Jan Stary
On Nov 22 15:33:04, kgo...@gmail.com wrote: > On Tue, Nov 21, 2017 at 1:50 AM, Jan Stary wrote: > > Running security(8): > > > > Checking the /etc/master.passwd file: > > Login maxa is off but still has a valid shell and alternate access files > > in > >home directory are still

Re: public key-only accounts

2017-11-22 Thread Kenneth Gober
On Tue, Nov 21, 2017 at 1:50 AM, Jan Stary wrote: > Running security(8): > > Checking the /etc/master.passwd file: > Login maxa is off but still has a valid shell and alternate access files in >home directory are still readable. > > > According to master.passwd(5) > > lo

Re: public key-only accounts

2017-11-21 Thread Allan Streib
> I created a user account, disabling password logins What I do for this case is set PasswordAuthentication=no in sshd_config. This will disable password logins for ssh, but still allow a user to have a local password. This is useful if they ever need to be able to use doas(1), for example. Alla