Re: RFE discussion.... Scan for missing users and group prior to install

Alexander Todorov <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Nifty nifty.hat Mitch wrote:
| Is yum a good place to look for and optionally add users and groups that are
expected
| by packages.  Or is this something that rpm should address.
|
This should be handled by the package pre or post install scripts.

| I commonly see a package install message that foo.package is installing
| files as "root" because user "fooadministrator" is missing.   In some

This is because the spec file for this package is faulty. Always report a bug
against the package so it can be fixed.

| cases there is a risk of loss of security and containment of a hacker should
| a flaw be exploited in the package.
|
| In an ideal world I would like the opportunity to add the user/group
| (or not) then install the package.
|

In the ideal world all packages will be sane and no such thing needs to be added
to yum. This is not a good idea at all.

| Thanks,
| mitch
|
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFIjWVjhmd3WOiFct4RCqnYAKCa3R/qKyeaDH2VX0W9W1aGLUTXDACghFFt
jxzym3DqRReeFXNKpYfoFPY=
=Rlr2
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.