Re: FC4: %fedora_useradd undefined from rpm install

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

 



Quoting jfontain@xxxxxxx:


> 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

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

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux