[ale] service user vs no login user and ssh into it

James Sumners james.sumners at gmail.com
Tue Jul 25 20:40:31 EDT 2017


Copying this to the list since just using "reply" doesn't work correctly
any longer.

On Tue, Jul 25, 2017 at 1:18 PM, James Sumners <james.sumners at gmail.com>
wrote:

> Uh, if you disable the ability for the user to login how do you expect to
> be able to SSH in as that user?
>
> On Tue, Jul 25, 2017 at 11:57 AM, Narahari 'n' Savitha <
> savithari at gmail.com> wrote:
>
>> Friends:
>>
>> I want to create a user called myansible.
>>
>> This user will have sudo rights (have to enter password)
>>
>> However I want to set it up as a NO-LOGIN user.  Its only purpose is to
>> run deployments and thats it.
>>
>> The question is if it cannot login how can I put the .ssh/authorized_keys
>> so I can run stuff over ssh (Read ansible) ?
>>
>> Am I missing something ?
>>
>> -Narahari
>>
>


-- 
James Sumners
http://james.sumners.info/ (technical profile)
http://jrfom.com/ (personal site)
http://haplo.bandcamp.com/ (music)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20170725/5aebaedd/attachment.html>


More information about the Ale mailing list