Re: pam_mkdir issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hai Bandi ,

Thanks for forwarding to help me.

The problem was with permission issues on that libpam_mkdir.1 and i copied
that into /usr/lib/security/ folder and properly mentioned in /etc/pam.conf
of 11.11 PA RISC machine. Similarly I changed permission values & copied to
/usr/lib/security/hpux32 and properly mentioned in /etc/pam.conf of 11.23 LR
{IPF machine.

The above solution is solved my problem and can create /home/dir.

Regards,
Saravanan

----- Original Message -----
From: "Sridhar Bandi" <bandis@xxxxxxxxxxxx>
To: "Pluggable Authentication Modules" <pam-list@xxxxxxxxxx>
Sent: Thursday, July 15, 2004 11:08 PM
Subject: Re: pam_mkdir issue


> Hi Saravanan,
>
> Can you do :
> # ll /home/sara/pdt_build/pam/libpam_mkdir.1
> # chatr /home/sara/pdt_build/pam/libpam_mkdir.1
> # ldd /home/sara/pdt_build/pam/libpam_mkdir.1
> and let me know.
>
> The file has to be a shared library and not a relocatable object.
> Let me know how are you compiling the module(library).
>
> Cheers,
> Bandi.
>
>
> Saravanan wrote:
>
> >
> > Hello All,
> >
> > This query belongs to pam_mkdir module and user home directory
> > creation in HP-UX 11.11 PA RISC machine.
> >
> > _Steps did :_
> >
> > 1) Compiled pam_mkdir.c pgm and libpam_mkdir.1 is created.
> >
> > 2) I'd like to make the pam_mkdir module do more than just create a
> > homedir from /etc/skel and set the umask.
> >
> >         So added this line ,    login session required
> > /user/lib/security/libpam_mkdir.1 skel=/etc/skel/ umask=0022   in
> > /etc/pam.conf
> >
> > 3) And debug is suffixed like, login    session required
> > /usr/lib/security/libpam_unix.1 debug  in /etc/pam.conf
> >
> > 4) My requirement is, when a newuser is created and logged in ,
> > automatically it will create /home/newuser directory should be created.
> >
> > But I can create the newuser thru useradd command, but can't logged
> > into the machine thru that newuser account.
> >
> >
> > # tail -f /var/adm/syslog/syslog.log
> >
> >
> > Jul 15 01:11:42 yamuna login: load_modules: can not open module
> > /home/sara/pdt_build/pam/libpam_mkdir.1
> >
> > #
> >
> >
> > But /home/sara/pdt_build/pam/libpam_mkdir.1 exists.
> >
> > # file /home/sara/pdt_build/pam/libpam_mkdir.1
> > /home/sara/pdt_build/pam/libpam_mkdir.1:        PA-RISC1.1 relocatable
> > object
> > #
> >
> > Please help me to remove this error.
> >
> > -Saravanan



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.720 / Virus Database: 476 - Release Date: 7/14/2004



_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux