public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Naira Kaieski <naira@faccat.br>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] internal-sftp and logs files
Date: Tue, 01 Mar 2011 13:03:25 -0300	[thread overview]
Message-ID: <4D6D18CD.7020909@faccat.br> (raw)

Good afternoon,

Staff set up openssh to direct users to a certain group members to a 
chroot environment and these users will have access only to the server 
using sftp protocol.

Put in the sshd_config file:
Match Group customers
     ChrootDirectory% h
     ForceCommand internal-sftp-l VERBOSE f-AUTH

Thus each user is directed to the chroot environment indicated in the 
variable% h (home directory defined in / etc / passwd)

An example of directory is:
User: naira
Home directory: /var/www/naira.com.br

The problem is that I am not able to capture logs of the user group 
"clients" that are targeted to the chroot environment. Access via 
internal-sftp from other users who do not belong to the "client" I get 
the logs in auth.log files.

I'm using syslog-ng.

Has anyone ever made this kind of setup?

Thanks,

-- 
Naira Kaieski
Nucleo de Internet/Redes - Faccat
Linux Professional Institute - LPI000223834



             reply	other threads:[~2011-03-01 16:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01 16:03 Naira Kaieski [this message]
2011-03-02 17:05 ` [gentoo-user] internal-sftp and logs files Ivan Kharlamov
2011-03-03 17:37   ` Naira Kaieski

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=4D6D18CD.7020909@faccat.br \
    --to=naira@faccat.br \
    --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