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

Re: Help Needed configuring Samba on Webserver



On 4/13/05, Trevor TeC Christian <trevor bouyon dalive com> wrote:
> >>
> >> As it stands right now, I use the following procedure to make this work,
> >> which is not a problem for a class of 5 students, but for a large class
> >> it turns into a large amount of work
> >>
> >> Procedure to setup student for samba access
> >>
> >> 1 Create the user directory on the webserver
> >> 2. Create the linux user - system/users and groups
> >> 3. Create a public_html directory under their home directory
> >> 4. chmod home directory 755
> >> 5. chmod public_html directory 755
> >> 6. chown home directory -R to user
> >> 7. chgrp home directory to apache
> >> 8. create samba user -- system-config-samba
> >> 9. input windows password into samba as samba password
> >>
> >>
> >>
> > Well since you have the steps so well setup, why not just make a
> > script that accepts the students name,username and password and then
> > goes through steps 1-9?
> >
> >> everything should then work
> >>
> >> This procedure works.  It takes 3 - 5 minutes per itineration, which
> >> gets tedious at best.  The problem comes in the fact that next year we
> >> want to implement a similar system for storing all of our user files on
> >> our samba file server, and creating 250 accounts like this is just out
> >> of the question.
> >
> >
> This may be of little assistance, but wouldn't placing or including the
> previously mentioned directories with the set permissions in /etc/skel
> place the same within the newly added users home directories upon creation?

Hi Trevor,
Yes it will, assuming you don't create the user's home directory
before adding the user.  You must not have seen my first reply:
https://www.redhat.com/archives/fedora-list/2005-April/msg01743.html

Jonathan


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