Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

pam_mkhomedir not working on RH9

2 views
Skip to first unread message

Nate

unread,
Nov 4, 2003, 11:20:20 AM11/4/03
to
I have winbind running well under redhat 9 and am setting up services (FTP)
where I want the home dir created on the fly. My pam file for this looks
like this:

#%PAM-1.0
auth required pam_listfile.so item=user sense=deny
file=/etc/vsftpd.ftpusers onerr=succeed
auth sufficient pam_winbind.so
auth required pam_stack.so service=system-auth
auth required pam_shells.so
#account required pam_require.so @Domain\ Admins
account sufficient pam_winbind.so
account required pam_stack.so service=system-auth
session required pam_mkhomedir.so skel=/etc/skel umask=0022
session required pam_stack.so service=system-auth

I have tried changing the mod of the /home dir to 777 - doesn't help.

I verified that I it should be creating in that directory by looking at the
/etc/defaults/useradd file. It looks like this:

# useradd defaults file
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/bash
SKEL=/etc/skel

When i look at the messages log I see that the authentication is successful
but this pam module (pam_mkhomedir.so) doesn't seem to put any entries in
the log.

When I log in via ftp I get this message:

500 OOPS: chdir
500 OOPS: child died
Connection closed by remote host.

Any ideas anyone?

Thanks

Nate


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---

0 new messages