[389-users] Can the authconfig command line tool create home directories?

Andrew Commons andrew.commons at bigpond.com
Thu Feb 4 21:06:19 UTC 2010


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' ?
>
> Regards,
> Tom

Tom,

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
directories.

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.


Cheers,
Andrew





More information about the 389-users mailing list