tech-userlevel archive

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

Re: default skel files (Re: PAGER=less)



On Sun, Oct 16, 2011 at 03:44:54PM +0900, Izumi Tsutsui wrote:
> I also need useradd(8) as a tool to prepare a sample account
> on live image builds, and the following command is easier enough
> than manipulating misc tools and files:
> 
> # useradd -m -u 100 -g users -s /usr/pkg/bin/tcsh -G wheel \
>   -p `pwhash !@#$%^&*` -k /your/favorite/skel username
> 
> though it doesn't support -d destdir option (as postinstall(8) does),
> which is required to create makefs image tree...

I'd never considered using useradd(8) as a host tool, or for destdir
support; I'll look into adding that over the next few months.

Thanks,
Alistair


Home | Main Index | Thread Index | Old Index