public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
From: "A. Khattri" <ajai@bway.net>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] Virtual ssh users
Date: Wed, 21 Sep 2005 12:28:15 -0400 (EDT)	[thread overview]
Message-ID: <Pine.BSO.4.58.0509211225510.9471@ida.bway.net> (raw)
In-Reply-To: <432151F7.8020204@gmail.com>

On Fri, 9 Sep 2005, Paul Kölle wrote:

> It's pretty straightforward. libnss-mysql configuration file takes a SQL
> query for each get*() call, so there are no constraints for the db
> schema. Examples are in /usr/share/doc after installing the package.
> What I haven't figured out yet: Calls to NSS are made in the context of
> the user running e.g. "id", so if you use a socket connection to mysql
> you need to allow *every* user to read from the socket. I haven't
> investigated the implications in terms of security yet.

If you look at the MySQL privileges for the libnss-mysql user (as set in
/etc/libnss-mysql.cfg) you will see that only SELECT priv is granted for
that user. (Granted, that might be a problem too ;-)


-- 

-- 
gentoo-server@gentoo.org mailing list



  reply	other threads:[~2005-09-21 16:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-09  4:53 [gentoo-server] Virtual ssh users Yogesh Sharma
2005-09-09  9:12 ` Paul Kölle
2005-09-21 16:28   ` A. Khattri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-09-06  0:09 Yogesh Sharma
2005-09-06  0:15 ` Jeremy Brake
2005-09-06  0:26 ` Ben Munat
2005-09-06  6:08   ` ysharma
2005-09-06 16:41     ` Ben Munat
2005-09-08 14:43       ` A. Khattri

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=Pine.BSO.4.58.0509211225510.9471@ida.bway.net \
    --to=ajai@bway.net \
    --cc=gentoo-server@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