Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
Re: How do I set the user's shell?
From: Florian Verdet (florian.verdetunifr.ch)
Date: Sun Jun 22 2003 - 19:45:15 CDT
Read the archieves before you post to a list !!
We discussed this a few days/weeks ago...
(use nss_mysql instead of pam_mysql - or in combination)
\|joerelia.net ha scrit als Sun, 22 Jun 2003 18:37:19 -0600 (MDT):
|I am trying to implement a system that doesn't require an /etc/passwd,
|plus Winblows systems can authenticate against the system. The
|authentication mechanism uses pam_mysql, which is fine and dandy, but
|falls back to the /etc/passwd file for things like uid,gid,shell and
|Now, I want the option of putting that information in a database, and
|working off the database. Is there a method that I would use to set the
|home directory/shell? I can probably get away with setuid and setgid
|the ID's, but am unfamiliar with the other methods (especially since all
|the examples I find say "the list says I shouldn't do this" and don't
|provide an example, and the actual developers guide says absolutely
|nothing about it either).
Florian Verdet _goto
Pam-list mailing list