[K12OSN] HELP!! creating bulk users
mrjohnlucas at gmail.com
Fri Aug 24 20:46:13 UTC 2007
Try setting the permissions on the parent (/home) directory:
chmod 1777 /home
In the old days the "pam_mkhomedir.so" would only work if the user in question
had write permission in the parent directory of the user's home directory.
The sticky bit in this context allows anyone to write to the directory but
only to files owned by the creator (like the /tmp directory).
On Friday 24 August 2007 13:40, Randall Swift wrote:
> 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>
> >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
> >> 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.
> >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
> >For more info see <http://www.k12os.org>
> Randy Swift
> Network Administrator
> Leavitt Area High School
> Turner, Maine 04282
> swift at msad52.k12.me.us
> K12OSN mailing list
> K12OSN at redhat.com
> For more info see <http://www.k12os.org>
"History doesn't repeat itself; at best it rhymes."
- Mark Twain
| John Lucas MrJohnLucas at gmail.com |
| St. Thomas, VI 00802 http://mrjohnlucas.googlepages.com/ |
| 18.3°N, 65°W AST (UTC-4) |
More information about the K12OSN