rpm user and groups
On 05/21/12 1:51 PM, Markus Falb wrote:
> This is a rpm question.
> For example, mysql-server is adding mysql user with uid 27
> Is this something I can ask the rpm db?
> It seems not, because something like the following seems to give me no
> useful information regarding users or uids
> $ rpm -qa --provides|grep mysql
> I would like to ask: what package would install uid XXX. How? Not possible?
afaik, its done by shell scripts that are embedded in the package and
run before or after the files in the package are copied.
so, there's no real way to do it, short of querying all those
preinstall/postinstall scripts and somehow parsing them for useradd type
john r pierce N 37, W 122
santa cruz ca mid-left coast
CentOS mailing list