Solved

Problem of using pam_mkhomedir.so in SUSE 9.3

Posted on 2007-03-19
5
554 Views
Last Modified: 2013-12-05
I have a problem with using pam_mkhomedir.so to create home directories automatically. I am using Windows NIS server t authenticate windows users against SUSE machines… everything is ok except when I login to the KDE, it gives me an error massage “No write access to $HOME directory”.

Here is my /etc/pam.d/login


#%PAM-1.0
auth requisite pam_unix2.so nullok
auth required pam_securetty.so
auth required pam_nologin.so
#auth required pam_homecheck.so
auth required pam_env.so
auth required pam_mail.so
account required pam_unix2.so
password required pam_pwcheck.so nullok
password required pam_unix2.so nullok use_first_pass use_authtok
session required pam_mkhomedir.so skel=/etc/skel/ umask=0077
#session sufficient pam_unix2.so none # debug or trace
session required pam_limits.so


Thanks for helping
0
Comment
Question by:betemtl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 34

Expert Comment

by:PsiCop
ID: 18749578
What's the ownership and mode of the home directory that is created?
0
 

Author Comment

by:betemtl
ID: 18750064
I haven't created any home directory. I am trying to create one for each user when they log in to the SUSE machine automatically.
0
 

Author Comment

by:betemtl
ID: 18770876
I found the solution... I have to add pam_mkhomedir.so also in /etc/pam.d/xdm... It is working properly now... Thanks anyway
0
 

Accepted Solution

by:
AnnieMod earned 0 total points
ID: 19389403
PAQed with points refunded (500)

AnnieMod
Cleanup Admin
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question