Mkdir for all exist accounts

xeryph

Verified User
Joined
Dec 27, 2004
Messages
73
Hi,
I want to make sessions directories for all my account on my server.
I do not want do it manualy, but automaticcaly of course. So that, I have problem.
How can I do this, how should shell script look?
I want to do it on /home and then read users list and mkdir files in /home/username/domains/domain.com/sessions

Is should be for all existed users and domains.

Do you have any idea how can I do it?
Thanks a lot for any help.

Regards,
Xeryph
 
Back
Top