Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Getting rid of passwd.conf.pre-sysinst

0 views
Skip to first unread message

Julio Merino

unread,
Jan 24, 2010, 12:39:30 PM1/24/10
to
Hello,

As you probably know, if you choose to change the cipher algorithm for
system passwords from sysinst, sysinst generates a tiny passwd.conf
file and moves the original one out of the way. This, in my eyes, has
two problems:

- It is inconsistent with how all other changes to files are handled.
In all other cases, we simply overwrite the distributed files with the
modified one.

- When upgrading the configuration files with etcupdate, it is hard to
understand the diff because the generated file is completely different
to the distributed one. E.g. it lacks all header comments, uses a
different indentation...

I'd like to homogenize the situation by implementing in-place
replacement of the settings in passwd.conf with the algorithm chosen
by the user. Actually I already have the code (modulo testing it =),
so I'm asking for comments about this change before I submit it.

Please CC me any replies.

Thanks,

--
Julio Merino

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de

Silas Silva

unread,
Jan 30, 2010, 1:43:28 PM1/30/10
to
On Sun, Jan 24, 2010 at 05:39:30PM +0000, Julio Merino wrote:
> I'd like to homogenize the situation by implementing in-place
> replacement of the settings in passwd.conf with the algorithm chosen
> by the user. Actually I already have the code (modulo testing it =),
> so I'm asking for comments about this change before I submit it.

That would consists only in changing the set_crypt_type() function on
util.c of sysinst, right?

--
Silas Silva

0 new messages