[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Mass Directory
- Subject: Re: [cobalt-users] Mass Directory
- From: Kris Dahl <kris@xxxxxxxxxxxxx>
- Date: Tue Jan 18 08:50:35 2000
on 1/17/00 2:25 PM, Myles Agnew at myles@xxxxxxxxxxxxxxx wrote:
> Hi All,
> Does anyone have any great idea's on how I can make a public_html directory in
> every users
> directory?
well, you can add it to the adduser script.
Or you can write a perl script that reads the each /home/sites/site*/users/
directory, throws a public_html dir in there, chmod's it and then chowns it
to the user. Or have the script parse thru the passwd file, and if their
path has /home in it consider it a 'real' user and then add a public_html
dir, chmod, chown.
-k