Vincent Legoll <vincent.leg...@gmail.com> writes:

> Hello,
>
>> Also, it's better fit in the 'add-user' procudere, before
>> the run of `useradd' command.  And instead of handing
>> this particular case, how about create any parent directory
>> of HOME?  like:
>>
>> [...]
>>   ;; create the parent directory of HOME.
>>   (when home (mkdir-p (dirname home)))
>>
>>   ;; Use 'useradd' from the Shadow package.
>> [...]
>
> This looks like a better idea IMHO (more generic)
>
> -- 
> Vincent Legoll
>

Apparently I need this if I want to extend git-service (ie: ssh to user
git), and for gnunet-service which requires some directories to be
present in $HOME which normally are there for users as far as I remember.
[PATHS]
SERVICEHOME = /var/lib/gnunet is not working. I could of course create
.config to ~maybe~ satisfy it, but I find this patch useful, as it will
allow me to write less code.
-- 
ng0
For non-prism friendly talk find me on http://www.psyced.org

Reply via email to