From: "Paul Kölle" <pkoelle@gmail.com>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] Virtual ssh users
Date: Fri, 09 Sep 2005 11:12:23 +0200 [thread overview]
Message-ID: <432151F7.8020204@gmail.com> (raw)
In-Reply-To: <43211564.7030109@catprosystems.com>
Yogesh Sharma wrote:
> On 07:43 A. Khattri wrote:
>
>>Incidently, you can use libnss-mysql to avoid having to create an
>>actual
>>system account if you need "true" virtual users.
>
>
>
> Any link to documentation or example for implementing libnss-mysql based
> virtual users ?
> Database schema, user name, config file etc.
>
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.
cheers
Paul
--
gentoo-server@gentoo.org mailing list
next prev parent reply other threads:[~2005-09-09 9:08 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 [this message]
2005-09-21 16:28 ` A. Khattri
-- 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=432151F7.8020204@gmail.com \
--to=pkoelle@gmail.com \
--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