From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Locking down a user with a shell account and SSH access
Date: Tue, 2 Jul 2013 00:34:17 +0100 [thread overview]
Message-ID: <20130702003417.514e43d9@digimed.co.uk> (raw)
In-Reply-To: <CAN0CFw0fijDtZ5XZFnrD_cd5L7k+jr=EL8D8am_NJPthv3hWYg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 662 bytes --]
On Mon, 1 Jul 2013 16:24:29 -0700, Grant wrote:
> My backup user needs a shell on the backup server in order to execute
> rsync and needs to be included in /etc/ssh/sshd_config AllowUsers in
> order to SSH in. My authorized_keys file is locked-down. The second
> field for the user in /etc/shadow is an exclamation point which I
> think means the user can not log in with a password. Should I take
> any additional steps to prevent that user from logging in and not
> being subject to the authorized_keys restrictions?
What about "PasswordAuthentication no"?
--
Neil Bothwick
Every time I jump on the bandwagon all its wheels fall off.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2013-07-01 23:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-01 23:24 [gentoo-user] Locking down a user with a shell account and SSH access Grant
2013-07-01 23:34 ` Neil Bothwick [this message]
2013-07-02 6:33 ` Grant
2013-07-02 6:39 ` Adam Carter
2013-07-02 7:44 ` Alan McKinnon
2013-07-18 16:21 ` Grant
2013-07-18 18:32 ` Alan McKinnon
2013-07-18 19:58 ` Paul Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130702003417.514e43d9@digimed.co.uk \
--to=neil@digimed.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox