Spiro Harvey wrote:
Alternatively, if you could point me to a package or a spec file that
does this, I'd be much obliged.
From the postifx srpm..
%define postfix_uid89
%define postfix_user postfix
%define postfix_gid89
%define postfix_group postfix
%define postdrop_group postdrop
On Wed, 2008-10-15 at 16:22 +1300, Spiro Harvey wrote:
What wizardry do you guys use in the SPEC file when creating/deleting a
user from an RPM package?
I was going to create a macro like:
%define user(login,uid,gid,name,homedir,shell) \
echo $1:x:$2:$3:$4:$5:$6 /etc/passwd;
nate [EMAIL PROTECTED] wrote:
From the postifx srpm..
thanks. and to you Ian; looks like useradd is the standard way. :)
clamav uses it too.
--
Spiro Harvey Knossos Networks Ltd
021-295-1923www.knossos.net.nz
3 matches
Mail list logo