1 |
On Thursday 15 June 2006 21:36, Mike Kelly wrote: |
2 |
> As part of my original plans for my GLEP27 implementation, I was |
3 |
> going to have my scripts automatically add the users requested by a |
4 |
> package (for example, the cron user), to all the passwd backends |
5 |
> listsed in /etc/nsswitch.conf. |
6 |
|
7 |
nss is glibc-only, so such a solution would be inadequate |
8 |
|
9 |
> However, in consultation with some |
10 |
> folks, it seems that what may be more desirable is to just add |
11 |
> users/groups to the local files/compat backends instead, and not make |
12 |
> any changes to the remote databases. |
13 |
|
14 |
you mean update only /etc/passwd and /etc/groups ? modifying those files |
15 |
directly should only happen as a fallback when all other methods fail |
16 |
|
17 |
> Does anyone have any strong notion of any cases where it would be |
18 |
> excessively bad for the package manager to try adding to, say, the |
19 |
> nss_nis backend in addition to the nss_files backend, or cases where |
20 |
> that would be a strongly desired behavior? |
21 |
|
22 |
users should be added via the normal system utilities so you dont have to care |
23 |
about the underlying storage |
24 |
|
25 |
perhaps making the account creation by configurable but with sane defaults |
26 |
setup for those of us who dont care |
27 |
-mike |