Re: Adding support to chsh for non-local shell modification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux