also sprach wuebben:
> " > There is an alternative to building an RPM with precompiled UID/GID.
> " > Pick a infrequently used uid/gid and compile those in. Then have 
> " > the RPM check for the uid/gid before installing and print an error
> " > if it finds them. Best of both worlds
> " 
> " Except that it's a fairly significant *hack*, more than an elegant solution.
> " I think compiling in the uid/gid is acceptable.
> 
> Yup, but as I said in my last mail, I really need automated installation
> via RPM. 

RPMs and compiling in the uid/gid are not mutually exclusive. Write a short
shell function that gets an available uid/gid from /etc/passwd. Include that
function in your RPM spec file and call it when appropriate.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
"Absolutely nothing should be concluded from these figures except that
no conclusion can be drawn from them."
(By Joseph L. Brothers, Linux/PowerPC Project)

Reply via email to