Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
Subject: application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
Subject: X Windows problem (xauth)
Subject: Upgrading openoffice 1 1 rpm
Subject: FTP: connection refused
Subject: FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
Subject: broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Subject: Promise 378 controller
Subject: Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Subject: Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
New users without home directories w/LDAP...

New users without home directories w/LDAP...

2005-05-18       - By Paul Yoshimune

 Back
Reply:     1     2     3  

Jason L Tibbitts III wrote:

>>>>>>"PY" == Paul Yoshimune <paul@(protected)> writes:
>>>>>>            
>>>>>>
>
>PY> I'm trying to track down what process/script is actually doing the
>PY> work here, so I can replicate the functionality on the other
>PY> machines.  Ideas?
>
>Perhaps it's pam_mkhomedir?  From /usr/share/doc/pam-*/html/pam.html:
>
>6.15 Create home directories on initial login
>
>  Synopsis
>
>   Module Name:
>           pam_mkhomedir
>   Author:
>           Jason Gunthorpe <jgg@(protected)>
>   Maintainer:
>           Ben Collins <bcollins@(protected)>
> Overview of module
>   Creates home directories on the fly for authenticated users.
>  Session component
>   Recognized arguments:
>           debug; skel=skeleton-dir; umask=octal-umask;
>   Description:
>           This module is useful for distributed systems where the
>           user account is managed in a central database (such as NIS,
>           NIS+, or LDAP) and accessed through miltiple systems. It
>           frees the administrator from having to create a default
>           home directory on each of the systems by creating it upon
>           the first succesfully authenticated login of that user. The
>           skeleton directory (usually /etc/skel/) is used to copy
>           default files and also set's a umask for the creation.
>           The behavior of this module can be modified with one of the
following flags:
>              * skel - The skeleton directory for default files to
>                copy to the new home directory.
>              * umask - An octal for of the same format as you would
>                pass to the shells umask command.
>   Examples/suggested usage:
>           session required pam_mkhomedir.so skel=/etc/skel/ umask=0022
>
> - J<
>
>  
>
Jason:

Thank you, that was it exactly!  I got buggered a bit because sshd
wasn't authenticating properly, but that wasn't a PAM issue.  Had to
turn off UsePrivilegeSeparation in sshd_config, then things worked as
expected.  Also added pam_mkhomedir to gdm, and now I think all the
bases are covered.  Thanks again...


--
Paul H. Yoshimune
paul@(protected)

--
Shrike-list mailing list
Shrike-list@(protected)
https://www.redhat.com/mailman/listinfo/shrike-list