Re: Second user/group handling draft

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thorsten Leemhuis <fedora@xxxxxxxxxxxxx> writes:

>> But maybe the following can make you happy: A script that greps
>> through the CVS and extracts these for you automatically.
>
> If that works: sure. But we should not force sysadmins to download the
> whole cvs and run such a script

Before I see such a script I do not believe that a such one is possible.
E.g. please extract the needed information (username, homedir, gecos)
from:

| %global user foo
| %global home %_var/lib/%name
|
| %post
| useradd -r -d '%home' %user
|
| u='%user'
| prog=/usr/sbin/useradd
| $prog -r \
|   $u



Enrico

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux