FC4: %fedora_useradd undefined from rpm install
jfontain at free.fr
jfontain at free.fr
Mon Feb 13 13:12:17 UTC 2006
Quoting jfontain at free.fr:
> As packager, what am I supposed to do, especially when the following fails:
>
> # /usr/sbin/fedora-useradd -u 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
After replacing the lines:
set -- "$v" "$@"
with:
set -- "-u $v" "$@"
in /usr/share/fedora-usermgmt/wrapper, it work by removing the -u, as in:
# /usr/sbin/fedora-useradd 23 -M -d /srv/moomps -c 'service companion to moodss'
-s '/sbin/nologin' moomps
Let me know if I need to create a bug report,
--
Jean-Luc
More information about the fedora-extras-list
mailing list