Re: Linux Administration - Users in (any) database howto/why…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Dale Farnsworth
Date:  
To: plug-discuss
CC: 
Subject: Re: Linux Administration - Users in (any) database howto/why...
Enrique wrote:
> OK, I've reached that (long postponed) point of my life where I *HAVE* to
> ditch /etc/passwd and /etc/group in favor of storing my users in a database.
> Any database...


> [...]


> Furthermore, I want to login with my trusted /etc/passwd - /etc/group
> combination when I SSH into (or console) into my machine and I want the
> "other" users (people hosting WEB sites and/or receiving e-mail) be
> authenticated against the Postgres table.


So you really don't want to ditch /etc/passwd and /etc/group. I think
that's a good decision.

> So the final question is:
> What do I need?
> specifically, do I need PAM? (Probably...)
> What do I configure?


I suggest you keep /etc/passwd and /etc/group for real linux users and
add "virtual users" support to each of the applications that need it.
The implementation of virtual users varies with each specific
application, i.e. qmail, postfix and exim each have their own ways
of handling virtual users, as do many applications running on web servers.

-Dale
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss