1833767 Members
2250 Online
110063 Solutions
New Discussion

How to use PAM_mkhomedir

 
shashikala K.H
Occasional Advisor

How to use PAM_mkhomedir

Hi All,
This is shashikala,
I have PAM_mkhomedir product installed, i need to test the product to know its functionality and to test whether it is built properly or not.I serched in google but iam not able to get the proper testsuits, please could you help me in gving the steps involved in testing the product. I need to know how that producy is used.

Thanks and Regards,
shashikala
5 REPLIES 5
Arunvijai_4
Honored Contributor

Re: How to use PAM_mkhomedir

Hi Shashikala,

I think, PAM_mkhomedir is part of Internet Express, you can download it from

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111

You can find more information at, http://keutel.de/pam_mkhomedir/

What kind of information you are looking for other than this?

-Arun
P.S Remember to assign points in ITRC forums.
"A ship in the harbor is safe, but that is not what ships are built for"
Senthil Prabu.S_1
Trusted Contributor

Re: How to use PAM_mkhomedir

Hi,
As the name suggest, it is used to create home directories for newly created user.
I have tested it :-)

Complete usuage can be found at;
http://www.tldp.org/HOWTO/Autodir-HOWTO/x80.html

More details can be found at home page;
http://www.openwall.com/pam/

One man's "magic" is another man's engineering. "Supernatural" is a null word.
Senthil Prabu.S_1
Trusted Contributor

Re: How to use PAM_mkhomedir

Hi,
Apart from creating $HOME dir.

It has two functionality;

[a]. To create $HOME, it copies over files from a skel directory ( default /usr/share/skel )

[b]. It can set the permission of the newly created $HOME to a value of your choice

The parameters to be used are;
skel - The skeleton directory for default files to copy to the new home directory.

umask - An octal for of the same format as you would pass to the shells umask command.

Examples/suggested usage:
session required pam_mkhomedir.so skel=/etc/skel/ umask=0022


HTH,
Prabu.S
One man's "magic" is another man's engineering. "Supernatural" is a null word.
shashikala K.H
Occasional Advisor

Re: How to use PAM_mkhomedir


I will Thank you all , for your reply, it was helpful for me.


Thanks and Regards,
Shashikala
Senthil Prabu.S_1
Trusted Contributor

Re: How to use PAM_mkhomedir

Hi,
Why dont you again points to the posts.
IF you assign points at right time, even you may get more replies to help you.


One man's "magic" is another man's engineering. "Supernatural" is a null word.