jfontain@xxxxxxx wrote:
Quoting Michael Schwendt <bugs.michael@xxxxxxx>:
On Mon, 13 Feb 2006 11:24:39 +0100, jfontain@xxxxxxx wrote:
Quoting Michael Schwendt <bugs.michael@xxxxxxx>:
On Mon, 13 Feb 2006 10:02:03 +0100, jfontain@xxxxxxx wrote:
On a newly installed up-to-date FC4 x86_64 machine:
# rpm -i moomps-5.4-2.noarch.rpm
%fedora_useradd
with, in the spec file:
%pre
echo %fedora_useradd
Same result if fedora-usermgmt package is installed
Unless my memory plays tricks on me, there has never been an RPM
macro for fedora-usermgmt tools. You're looking for:
/usr/sbin/fedora-useradd
Then the http://fedoraproject.org/wiki/Packaging/UserCreation page needs an
update.
In my understanding the page only discusses the pros and cons of
possible "useradd" techniques in rpms. Hence the "Advantages" and
"Disadvantages" sections. I don't read it as a HOWTO.
Understood, thanks.
As packager, what am I supposed to do, especially when the following fails:
File a bug.
# /usr/sbin/fedora-useradd -u 23 -M -d /srv/moomps -c 'service companion to
moodss' -s '/sbin/nologin' moomps
Remove the '-u' flag, but leave the flag's argument:
/usr/sbin/fedora-useradd 23 -M -d /srv/moomps -c 'service companion to
moodss' -s '/sbin/nologin' moomps
Usage: useradd [options] LOGIN
Options:
-b, --base-dir BASE_DIR base directory for the new user account
...
Tracing the script, the following is executed:
exec /usr/sbin/useradd 300 23 -M -d /srv/moomps -c 'service companion to moodss'
-s /sbin/nologin moomps
Is anybody using this?
Yes, in tclhttpd.
--Wart
--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list