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

Re: command -v in postinsts violating policy



Previously Luca - De Whiskey's - De Vitis wrote:
> On Wed, May 29, 2002 at 02:20:32AM +0200, Kjetil Torgrim Homme wrote:
> > you mean quiet versions of
> > 
> >   getent passwd $user >/dev/null
> >   getent group $group >/dev/null
> 
> Neither man page nor the getent --help were so useful, but i suppose it is not
> aware of PAM, for examples.

They have no business being aware of PAM. PAM is only used for
authentication, not for user information. It is perfectly legal to
authenticate a user with PAM even if that user does not really exist
on the system as a traditional UNIX account. It is just as legal to
have a UNIX account PAM knows nothing about.

I suspect you are confusing PAM and NSS here: NSS (Name Service Switch)
is a mechanism that allows you to have user information in different
places (like local files, NIS, LDAP, etc.)

Wichert.

-- 
  _________________________________________________________________
 /wichert@wiggy.net         This space intentionally left occupied \
| wichert@deephackmode.org            http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: