Bug 102171

Summary: User accounts from central server (NIS,LDAP)
Product: [Retired] Red Hat Raw Hide Reporter: Gavin Graham <gavindi>
Component: authconfigAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-13 18:46:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gavin Graham 2003-08-12 05:24:19 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703

Description of problem:
If you do a first time login to a PC where user account information is not
local, you will not have a home dir to log in to.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Create a Central User Database (NIS,LDAP)
2.Set up workstation to query user databse
3.try to log in on workstation
    

Actual Results:  You will log in with / as your home and no basic settings.

Expected Results:  To have an account the same a local login account.

Additional info:

This can be easily fixed by having the following line by default in
/etc/pam.d/serviceconf

the following line:
session    optional     pam_mkhomedir.so skel=/etc/skel umask=022

Comment 1 Gavin Graham 2003-08-12 22:50:27 UTC
Correction to comments.

To correct this behaviour, the following line needs to be added to
/etc/pam.d/system-auth and NOT /etc/pam.d/serviceconf:

session     optional      /lib/security/$ISA/pam_mkhomedir.so skel=/etc/skel
umask=022

This needs to be added by the authentication configuration program upon service
changes.

Comment 2 Jindrich Novy 2004-09-21 14:56:40 UTC
I'll reassign this to authconfig as an RFE.

Comment 3 Tomas Mraz 2004-12-13 18:43:55 UTC

*** This bug has been marked as a duplicate of 65331 ***