[K12OSN] HELP!! creating bulk users

Randall Swift swift at msad52.org
Fri Aug 24 17:40:31 UTC 2007


this did not work. Remember I set this up using the smbldap-installer
script. Thanks for any and all suggestions. I still need any ideas.

"Support list for open source software in schools." <k12osn at redhat.com>
writes:
>On Thu, 23 Aug 2007 20:25:06 -0400, Randall Swift wrote
>> I already have the users created the script said it created the home
>> directory but it is not there. I need a way to create home directories
>for
>> existing users (about 800 of them).
>
>Add this line to /etc/pam.d/common-session:
>
>session required        pam_mkhomedir.so skel=/etc/skel/
>
>If a user ever logs in and there is no home directory, this pam module
>will create the 
>home directory automatically.  This is explained in more depth of my
>howto on Ubuntu 
>LDAP found here http://www.1-cs.com/ubuntu_ldap_howto.txt in step 13.
>
>Any other scripts you might do will only help you now, adding this to pam
>will make 
>sure this never happens again.
>
>HTH
>Jim
>
>-- 
>This message has been scanned for viruses and
>dangerous content by the Cotter Technology 
>Department, and is believed to be clean.
>
>_______________________________________________
>K12OSN mailing list
>K12OSN at redhat.com
>https://www.redhat.com/mailman/listinfo/k12osn
>For more info see <http://www.k12os.org>



Randy Swift
Network Administrator
Leavitt Area High School
Turner, Maine 04282
(207)225-3533
swift at msad52.k12.me.us




More information about the K12OSN mailing list