[K12OSN] HELP!! creating bulk users

Krsnendu dasa krsnendu108 at gmail.com
Sat Aug 25 19:20:47 UTC 2007

I just did this when adding a user recently using the bulk script. Wasn't -m
a default option before. It makes sense for it to be.

The trouble I had was that I deleted the user using smldap-userdel -r and
when I added the user again using the bulk script with -m the user was
created with a different uid and confused the system when the user tried to
log in there were permissions problems opening desktop config files.
I think I have fixed it. Using nautilus as root I when into the users /home
directory and changed ownership to the username I wanted. Somehow when I
tried to do this from CLI it got confused about which uid the name  was
refering too.

Krsnendu dasa

On 26/08/07, David Trask <dtrask at vcsvikings.org> wrote:
> "Support list for open source software in schools." <k12osn at redhat.com>
> writes:
> >Unfortunately, I do not understand your commands. I also have to have a
> >way to do this that will work as this is a production server. I would
> just
> >blow this away and start over but the users passwords have already been
> >put into there schedule. I am also unsure if I create the users again
> >using the bulk user script (from matt oquists smbldap-installer) that it
> >will still not create the home directories. Is there something wrong with
> >this script? I need help!
> The passwords don't have to change....you should still have the master
> output file with all the passwords in it right?  Sounds like you forgot
> the "-m" switch in smbldap-useradd-bulk.  Believe it or not...I did that
> just the other day....so I ran smbldap-userdel-bulk.....removed the users
> again....and then "re-added them" making sure I used the -m switch.
> So...let's assume the input file you used was  students.input.....and the
> output file was students.output.   You should have originally run:
> ./smbldap-useradd-bulk -m -f students.input -o students.output
> To remove them....simply run
> ./smbldap-userdel-bulk -f students.output
> Then to re-add....passwords and all...  (making sure this time the -m
> switch is in place)
> ./smbldap-useradd-bulk -m -f students.ouput -o students.newoutput
> The output file is actually in the format needed and contains all the
> default information you need including the passwords.  The script works in
> such a way that if the password is there in the text file....it will use
> it....otherwise it will generate one.  The output file has the password in
> place...so that's the one that will be used.  No worries!  :-)
> David N. Trask
> Technology Teacher/Director
> Vassalboro Community School
> dtrask at vcsvikings.org
> (207)923-3100
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20070826/42715852/attachment.htm>

More information about the K12OSN mailing list