[ale] service user vs no login user and ssh into it
James Sumners
james.sumners at gmail.com
Tue Jul 25 20:39:43 EDT 2017
Whoah! That's the wrong thing to do. Root shouldn't be allowed to SSH in
_ever_.
On Tue, Jul 25, 2017 at 8:10 PM, Joey Kelly <joey at joeykelly.net> wrote:
> On Tuesday 25 July 2017 11:57:24 Narahari 'n' Savitha 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) ?
>
> Take a gander at
>
> PermitRootLogin without-password
>
> If it works for root, it'll probably work if you set up a user in
> /etc/ssh/sshd_config too.
>
> --
> Joey Kelly
> Minister of the Gospel and Linux Consultant
> http://joeykelly.net
> 504-239-6550
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
--
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/c2cc00a7/attachment.html>
More information about the Ale
mailing list