FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 07-31-2012, 05:45 AM
Nicolas Ross
 
Default Can,t get pam_mkhomedir to work...

On a ldap enabled CentOS 6.3 x64 system, I try to make it so home
directories are auto-created. I added this :

session required pam_mkhomedir.so skel=/etc/skel/ umask=0077

to my /etc/pam.d/system-auth

And it does nothing. I restarted messagebus (I've seen references to
that) and sshd, and logs don't mention anything in regards to
pam_mkhomedir...

Any hints ?
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-31-2012, 05:46 AM
Nicolas Ross
 
Default Can,t get pam_mkhomedir to work...

Nicolas Ross a écrit :
> On a ldap enabled CentOS 6.3 x64 system, I try to make it so home
> directories are auto-created. I added this :
>
> session required pam_mkhomedir.so skel=/etc/skel/ umask=0077
>
> to my /etc/pam.d/system-auth
>
> And it does nothing. I restarted messagebus (I've seen references to
> that) and sshd, and logs don't mention anything in regards to
> pam_mkhomedir...
>
By the way, selinux is disabled.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-31-2012, 06:22 AM
"James A. Peltier"
 
Default Can,t get pam_mkhomedir to work...

----- Original Message -----
| On a ldap enabled CentOS 6.3 x64 system, I try to make it so home
| directories are auto-created. I added this :
|
| session required pam_mkhomedir.so skel=/etc/skel/ umask=0077
|
| to my /etc/pam.d/system-auth
|
| And it does nothing. I restarted messagebus (I've seen references to
| that) and sshd, and logs don't mention anything in regards to
| pam_mkhomedir...
|
| Any hints ?
| _______________________________________________
| CentOS mailing list
| CentOS@centos.org
| http://lists.centos.org/mailman/listinfo/centos
|

did you try running authconfig --enablemkhomedir --updateall


--
James A. Peltier
Manager, IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone : 778-782-6573
Fax : 778-782-3045
E-Mail : jpeltier@sfu.ca
Website : http://www.sfu.ca/itservices
http://blogs.sfu.ca/people/jpeltier

Success is to be measured not so much by the position that one has reached
in life but as by the obstacles they have overcome. - Booker T. Washington
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-31-2012, 02:52 PM
Nicolas Ross
 
Default Can,t get pam_mkhomedir to work...

James A. Peltier a écrit :
> | And it does nothing. I restarted messagebus (I've seen references to
> | that) and sshd, and logs don't mention anything in regards to
> | pam_mkhomedir...
> |
> | Any hints ?
> | _______________________________________________
> | CentOS mailing list
> | CentOS@centos.org
> | http://lists.centos.org/mailman/listinfo/centos
> |
>
> did you try running authconfig --enablemkhomedir --updateall

Great, that worked !

That options isn't even in the man page !

Thanks,
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 09-08-2012, 02:09 PM
Kanwar Ranbir Sandhu
 
Default Can,t get pam_mkhomedir to work...

On Tue, 2012-07-31 at 10:52 -0400, Nicolas Ross wrote:
> > did you try running authconfig --enablemkhomedir --updateall
>
> Great, that worked !
>
> That options isn't even in the man page !

That's a bug then. Please report it!

Regards,

Ranbir

--
Kanwar Ranbir Sandhu
Linux 3.5.2-3.fc17.x86_64 x86_64 GNU/Linux
09:49:40 up 3 days, 21:54, 3 users, load average: 0.05, 0.27, 0.20


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 11:34 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org