From: <gdjohn@egregious.org.uk>
To: <gentoo-dev@gentoo.org>
Subject: [gentoo-dev] User authentication ideas
Date: Mon, 14 Apr 2003 16:15:29 +0100 (BST) [thread overview]
Message-ID: <3057.213.206.130.130.1050333329.squirrel@mirkwood.egregious.org.uk> (raw)
I've recently been busying myself setting up Kerberos/LDAP directory to
provide a NIS like authentication system for my small LAN (hopefully
allowing single sign on at some point in the near future).
What I have found is that it is currently quite a big job to get all of
this sorted on a Gentoo server, and even when it's all running, it doesn't
play nicely with portage (or rather, there are some ebuilds that don't
play nicely with NIS like systems).
The main problems I've found are that some ebuilds grep /etc/passwd to see
if a specific user exists on the system, and then go and add the
user/group with the useradd/groupadd commands. Obviously, this doesn't
work for users whose credentials are stored somewhere other than
/etc/passwd.
What I would like to propose is some sort of virtual package, maybe
virtual/auth. The standard /etc/{passwd,group,shadow} authentication
mechanism should be retained as the default (maybe call it auth-files or
auth-shadow). The key thing here though, is that each package that
provides virtual/auth must provide a user{add,del} and group{add,del}
command (maybe useradd.packagename, etc. with symlinks to /sbin/useradd).
I am quite prepared to put some effort in to putting together a
sys-auth/krb5-ldap ebuild, but there will need to be some coordination. It
would be nice to be able to offer some sort of tool to switch between
authentication mechanisms, a la RedHat authconfig.
Can anybody see any problems, advantages, disadvantages, glaring issues in
what I'm suggesting?
Cheers,
Gareth.
--
gentoo-dev@gentoo.org mailing list
next reply other threads:[~2003-04-14 15:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-14 15:15 gdjohn [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-04-14 15:25 [gentoo-dev] User authentication ideas Paul de Vrieze
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=3057.213.206.130.130.1050333329.squirrel@mirkwood.egregious.org.uk \
--to=gdjohn@egregious.org.uk \
--cc=gentoo-dev@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