adduser: add -k [was: Re: Post USERADD_PARAM action]
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Wed Sep 9 13:28:45 UTC 2015
ping^3
See http://patchwork.openembedded.org/patch/94193/
On 16 July 2015 at 10:13, Bernhard Reutner-Fischer
<rep.dot.nop at gmail.com> wrote:
> ping^2
>
> On 7 June 2015 at 20:54, Bernhard Reutner-Fischer <rep.dot.nop at gmail.com> wrote:
>> Ping.
>>
>> On May 25, 2015 11:32:37 PM GMT+02:00, Bernhard Reutner-Fischer <rep.dot.nop at gmail.com> wrote:
>>>On Fri, May 22, 2015 at 12:37:13PM +0100, Laszlo Papp wrote:
>>>> Hi,
>>>>
>>>> is it possible to do some post action after useradd_param is
>>>executed?
>>>>
>>>> I would like to modify the created user's home directory, in this
>>>> special case the profile. I see that the useradd util has this on
>>>> desktop, but busybox does not have it, and very likely will not have
>>>> it, at least not in the near future anyway:
>>>
>>>mhm, why so?
>>>
>>>The attached compiles for me.
>>>
>>>cheers,
>>>
>>>>
>>>> -k, --skel SKEL_DIR
>>>> The skeleton directory, which contains files and
>>>> directories to be copied in the user's home directory, when the home
>>>> directory is created by useradd.
>>>>
>>>> This option is only valid if the -m (or --create-home)
>>>> option is specified.
>>>>
>>>> If this option is not set, the skeleton directory is
>>>> defined by the SKEL variable in /etc/default/useradd or, by default,
>>>> /etc/skel.
>>>>
>>>> If possible, the ACLs and extended attributes are copied.
>>>>
More information about the busybox
mailing list