[389-users] Can the authconfig command line tool create home directories?
edlinuxguru at gmail.com
Thu Feb 4 21:38:57 UTC 2010
On Thu, Feb 4, 2010 at 4:06 PM, Andrew Commons
<andrew.commons at bigpond.com> wrote:
> Tom Lanyon wrote:
>> Hi Andrew,
>> On 04/02/2010, at 10:58 PM, Andrew Commons wrote:
>>> (1) Create the user normally on the system.
>> Can you define 'normally' ?
> I'm using System->Administration->Users & Groups -- aka
> /usr/bin/system-config-users (this is F11).
> In the "Create New User" dialogue I add values for User Name, Full Name and
> the password and select a Login Shell. I make sure "Create home directory"
> is checked and I (at present) check "Create a private group for the user". I
> also specify the user ID and group ID manually.
> After I have created the user I then login to that user locally and then
> logout. This creates the Home Directory and also populates it with all the
> required Gnome bits (I'm using the Fedora default desktop).
> After logging out I then go back into system-config-users and remove the
> users making sure I deselect the option to remove the Home and Mail
> I now go into the 389 console and add the user into the directory using
> values identical to those I'd used in the original local user create.
> In System->Administration->Authentication I have (obviously) enabled LDAP
> for User Information and for Authentication. Under Options I have the (I
> think default) settings of "Use Shadow Password", "Local authorization is
> sufficient for local users", and "Create home directories on the first
> login" checked.
> 389 users mailing list
> 389-users at lists.fedoraproject.org
Andrew, I have worked with this before. The problem is the home
directory is done with/by the pam mk_homdir module.
1) You might be missing this module
2) some daemons SMB, XWindows do not have a pam.d stack correctly to
include this module. If your login is via SSH check that you
/etc/pam.d/ssh includes the mk_home_dir in your stack
More information about the 389-users