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

Re: [Sheflug] skel



Hi Chris

No used man pages

 man useradd

> > It can create user accounts with the creation of public_html directory
> > 
> 
> If it's for this, then useradd can create home directories based on a 
> skeleton if you specify the "-m" flag ... the skeleton is usually
> /etc/skel but you can change this with the "-k" switch. useradd just copies 
> this directory to the new users home (i.e., the equivalent of just doing:
> cp -pr /etc/skel $HOME ).
> 
> If I've missed summat, shout :)
> 

> Chris...

done:

cd /etc/skel

md public_html

This will allow me to place any files that are needed such as .htaccess
all I need is a way of updating htpasswd.users file!

thanks 

fred dodd

-- 
fred <fred.dodd [at] btinternet.com>

___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.