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

Re: login binary source



On Mon, Apr 02, 2001 at 07:20:59PM +1000, Langdon Green wrote:
> I am trying to create a boot disk from my debian 2.2r2 machine.  I have a rootfs with all the basic binaries req, and another disk to boot from.
> 
> It boots, Ok and loads the rootfs ok, Login prompt OK, When I type username and password, it comes up with pam errors (ie can't find username and password).  I checked out the pam site and I believe that the problem is with the file /mnt/var/run/utmp (which i tried touch, cp dd to copy the file to the rootfs).  Anyway, I have downloaded the source cd's for debian, and I was thinking of recompiling the login binary without pam.  Where would I find the source for login (can't find it on the cd's) and is it possible to recompile without pam?   
> 
> Can anyone think of anything else that I can do?

Sounds to me like you did not copy the /lib/security/ modules. You
atleast need to copy pam_unix.so, and make sure you copied
/etc/pam.d/login (and removed all lines that do not pertain to
pam_unix.so).

Or, you can just download the shadow source and recompile without PAM
support.

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: