Tuesday, December 10, 2019

Re: password-less user (without bothering security(8))?

> On Dec 10, 2019, at 7:55 AM, Adam Thompson <athompso@athompso.net> wrote:
>
> Hi,
> On 6.6-STABLE, I'm looking at security(8) and it's not immediately obvious to me how I can have an SSH key-only user who does not have a password, that also does not trigger daily security warnings.
>
> The goal is to have a user that can never log in on the console, or via password any other way (FTP, SMTP auth, POP, etc., etc.), but only via the RSA key provided.
>
> Is there a way to placate security(8) that I'm just not seeing? Or is my goal fundamentally misguided for some reason I'm not seeing? The user in this case is semi-trusted (e.g. yes, we'll let you login using an unprivileged account to run bgpctl in pipelines) but not organizationally-trusted (i.e. but that's ALL we want you to do on this system).

Why not assign a long, random password and then not share it with the user?

No comments:

Post a Comment