Re: [lfs-support] passwd: Authentication token manipulation error

2016-09-13 Thread Rob
Douglas R. Reno  wrote:
> You'll need to run "pwconv" and "grpconv" in the Shadow page in LFS in
> order to get the /etc/shadow file.

Thanks, that fixed it. NOw we're logged in, but with new problems
which I'll post about separately.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] passwd: Authentication token manipulation error

2016-09-13 Thread Douglas R. Reno
On Wed, Sep 14, 2016 at 12:02 AM, Tim Tassonis  wrote:

> On 09/14/2016 06:06 AM, Douglas R. Reno wrote:
>
>>
>>
>> On Tue, Sep 13, 2016 at 10:36 PM, Rob > > wrote:
>>
>> Building LFS-7.10-Systemd
>> I installed linux-pam, reinstalled shadow, reinstalled systemd.
>> However, I must have missed a step somewhere, because it won't
>>  let me log in when I reboot.
>> I fired up my rescue system, chrooted into the LFS one. As root
>> "passwd"
>> , and got this:
>> "passwd: Authentication token manipulation error"
>> "passwd: password unchanged"
>> What did I miss?
>> --
>>
>
>
> As far as I remember this happens when there is no /etc/shadow. The
> problem is that, at least with DESTDIR installs, /etc/shadow is not created
> by any package. It has nothing to do with systemd, I had this on a normal
> system as well.
>
> Cheers
> Tim
>
>
You'll need to run "pwconv" and "grpconv" in the Shadow page in LFS in
order to get the /etc/shadow file. Just figured that out from DJ.

That is init system agnostic.

Douglas R. Reno
--LFS/BLFS systemd maintainer
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] passwd: Authentication token manipulation error

2016-09-13 Thread Tim Tassonis

On 09/14/2016 06:06 AM, Douglas R. Reno wrote:



On Tue, Sep 13, 2016 at 10:36 PM, Rob mailto:captinlo...@gmail.com>> wrote:

Building LFS-7.10-Systemd
I installed linux-pam, reinstalled shadow, reinstalled systemd.
However, I must have missed a step somewhere, because it won't
 let me log in when I reboot.
I fired up my rescue system, chrooted into the LFS one. As root
"passwd"
, and got this:
"passwd: Authentication token manipulation error"
"passwd: password unchanged"
What did I miss?
--



As far as I remember this happens when there is no /etc/shadow. The 
problem is that, at least with DESTDIR installs, /etc/shadow is not 
created by any package. It has nothing to do with systemd, I had this on 
a normal system as well.


Cheers
Tim

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] passwd: Authentication token manipulation error

2016-09-13 Thread Douglas R. Reno
On Tue, Sep 13, 2016 at 10:36 PM, Rob  wrote:

> Building LFS-7.10-Systemd
> I installed linux-pam, reinstalled shadow, reinstalled systemd.
> However, I must have missed a step somewhere, because it won't
>  let me log in when I reboot.
> I fired up my rescue system, chrooted into the LFS one. As root
> "passwd"
> , and got this:
> "passwd: Authentication token manipulation error"
> "passwd: password unchanged"
> What did I miss?
> --
>

Honestly, I don't think you missed anything. That sounds awfully familiar
to a problem that I didn't find a solution to. I think Bruce found the
problem on my system originally - I'm in the process of rebuilding it for
some updates... so I can take a crack at fixing it once I get to having to
build PAM. The other thing I can *suggest* is making sure that you have
your VFSes mounted (See "Preparing the Virtual Kernel File Systems" in LFS)
before going into chroot.

Can someone on a sysvinit system try it and see if they are having a
similar problem please? I know my problem used to exist over there too, but
I don't know if it does anymore.

I seem to remember having issues with cracklib installed as well.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style