[CentOS] rpm user and groups

John Doe jdmls at yahoo.com
Tue May 22 10:20:56 UTC 2012


From: Markus Falb <markus.falb at fasel.at>

>For example, mysql-server is adding mysql user with uid 27
>Is this something I can ask the rpm db?

rpm -qa | sort | while read PKG; do echo $PKG; rpm -q --scripts $PKG | grep -- "-u 27"; done

JD




More information about the CentOS mailing list