SOURCES (AC-branch): rpm.macros, rpm.macros - %useradd: force home...

Jakub Bogusz qboosh at pld-linux.org
Tue Oct 11 16:48:25 CEST 2005


On Tue, Oct 11, 2005 at 11:21:39AM +0200, glen wrote:
> Author: glen                         Date: Tue Oct 11 09:21:38 2005 GMT
> Module: SOURCES                       Tag: AC-branch
> ---- Log message:
> - %useradd: force homedir creation with empty skel dir

> @@ -642,6 +644,8 @@
>  else \
>  	echo "Adding user %{expand:%{%{#}}} UID=%{-u*}." \
>  	/usr/sbin/useradd \\\
> +		-m \\\

Why?
Home directories for users created by %useradd are always (AFAICS)
part of some package, so there is no need to add -m?


-- 
Jakub Bogusz    http://qboosh.cs.net.pl/



More information about the pld-devel-en mailing list