As Ed already mentioned, PAM (Pluggable Authentication Modules) are what
you want to look for. After you install them and set them up, make sure to
keep a command line session (ssh, tty2, etc.) open while you test from
another terminal. You can potentially lock yourself out of the system on
accident.
On Aug 10, 2015 6:05 AM, "Ed Felt" <edf...@gmail.com> wrote:

> PAM is usually how this is done. For instance, look at libpam-mysql.
> On Aug 10, 2015 5:05 AM, "Dan Egli" <ddavide...@gmail.com> wrote:
>
> > I was wondering about something. Does anyone know if it's possible to
> > change the location of login information for a system to something like a
> > MySQL or PostgreSQL database? I seem to recall it was possible to store
> > login information (i.e. username, uid, gid, password, etc...) in either
> > Kerberos or an LDAP system, but I've never seen if there's one that will
> > store in a xSQL database. I wouldn't really be surprised if the answer
> was
> > "no", but I don't really have any idea where to look. Perhaps my sol
> isn't
> > strong enough, but when I search for things like "pgsql login linux" I
> get
> > tons of articles on how to login to the pgsql binary, but not anything I
> > saw on how to use pgsql to store the equivalent of the /etc/passwd,
> > /etc/shadow, /etc/group, and /etc/gshadow files. I was hoping someone
> here
> > would know whether or not it's possible, and if so where I can find a
> page
> > that shows how it's done.
> >
> >
> >
> > Thanks!
> > --- Dan
> >
> > /*
> > PLUG: http://plug.org, #utah on irc.freenode.net
> > Unsubscribe: http://plug.org/mailman/options/plug
> > Don't fear the penguin.
> > */
> >
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
>

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to