hi,
i compile mkhomedir module from linux-pam-0.81 to use with solaris 10 (i use this document "http://www.webservertalk.com/message1674632.html" to do that) and put
in "etc/pam.conf" the following rule:
othersession requiredpam_mkhomedir.so.1 skel=/etc/skel/ umask=0022
(there are a diference between with parameter umasn, because in linux its umnask, but i don want to change que source)
i think the module is load because when i put the parameter "umnask" i receive the following message in log:
PAM-mkhomedir[2555]: [ID 553420 auth.error] unknown option; umnask=0052
so i think the module is loaded ok.
when i login whit the user, the system give me the option to chose which desktop
enviroment i want, so if i chosse:
CDE enviroment: he start these enviroment but i need to do some task (about "DT
messaging system could not be started") and he not create the home directory for
user, and return to login screen
JDesktopn enviroment: he return to login screen.
but i receive the followin log message:
automountd[313]: [ID 834250 daemon.error] Mount of /export/home/toto4 on
/home/toto4: No such file or directory
because the home directory not exist.
縞ould anybody make work pam_mkhomedir ok?
縜nybody knows why the module "dont work"?
縣ow can i trace the accions that happening?
Thanks!!!
hi, i want to autenticate solaris clients via ldap, now i can autenticate this clients via native client, witch use pam to autenticate this clients and i must to have users home directories created.
the problem comes in first login of user, he dont have home directory, in linux thats is resolved using pam_mkhomedir module and including a rule in pam configuration, so when a new user login, the module create the home directory.
in solaris this module not exist so, i tried to compile and use the module.
Salu2
> to have users home directories created.
> the problem comes in first login of user, he dont
> have home directory, in linux thats is resolved using
> pam_mkhomedir module
do this:
man useradd
look at the -m option, that's all that I have ever needed to do.
http://docs.sun.com/app/docs/doc/816-5166/6mbb1kqk4?a=view
-m
Create the new user's home directory if it does not already exist. If the directory already exists, it must have read, write, and execute permissions by group, where group is the user's primary group.
alan