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

Re: adding some lines into an existing conf file - without diff



On Tue, Aug 06, 2002 at 08:20:07PM +0200, m96 wrote:

> i just wanted to ask for help.

> i'm trying to build a deb pkg for a pam module and i need to add "auth"
> and "session" lines to the already existing /etc/pam.d/login file. is
> there a debian tool for this or do i have to do a dirty hack?

> i can't use patch because every login file could be different and i
> don't want to bork the login file.

This is a violation of policy.  The file /etc/pam.d/login is a conffile
belonging to the login package, which means NO package is allowed to
modify this file (not even login itself).

The libpam maintainer has a plan for restructuring the PAM config files,
making it possible to change the global configuration according to what
modules are installed.  In the meantime, you should leave it up to the
administrator to configure his system.

Steve Langasek
postmodern programmer

Attachment: pgp0wfNiCqXcx.pgp
Description: PGP signature


Reply to: