From: Karel Zak <kzak@redhat.com>
To: Cody Maloney <cmaloney@theoreticalchaos.com>
Cc: util-linux@vger.kernel.org, Miloslav Trmac <mitr@redhat.com>
Subject: Re: Adding support to chsh for non-local shell modification
Date: Wed, 3 Oct 2012 12:24:01 +0200 [thread overview]
Message-ID: <20121003102401.GA2149@x2.net.home> (raw)
In-Reply-To: <CA+K3q6r_QfCWmCBMEiytKCQG8j-4P92sWxO-ZNz_ALWpr=2knA@mail.gmail.com>
On Tue, Oct 02, 2012 at 07:58:39PM -0700, Cody Maloney wrote:
> I would like to implement support for non-local shell changing in chsh
> at the very least, and possibly support for non-local user attributes
> in general for the other attribute modification tools in login-utils.
> For my purposes I need LDAP support, but it would probably be better
> to make it able to use an arbitrary storage backend. Ideally an API
> would already exist for this, but while one for setting authentication
> tokens has evolved (pam_chauthtok) and one for reading user attributes
> (Name Service Switch NSS), but none for setting them as far as I can
> tell. As such, I think the best route would be just to make a new API
> for this.
Already implemented:
https://fedorahosted.org/libuser/
it also provides utils like lchfn or lchsh. Not sure, but maybe it
would be possible to optionally link the default chfn and chsh utils
with the library too.
[CC: to Miroslav, author of the library]
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
next prev parent reply other threads:[~2012-10-03 10:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-03 2:58 Adding support to chsh for non-local shell modification Cody Maloney
2012-10-03 10:24 ` Karel Zak [this message]
2012-10-07 17:08 ` Cody Maloney
2012-10-08 15:58 ` Miloslav Trmac
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=20121003102401.GA2149@x2.net.home \
--to=kzak@redhat.com \
--cc=cmaloney@theoreticalchaos.com \
--cc=mitr@redhat.com \
--cc=util-linux@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.