I am configuring partimaged on Knoppix 5.0.1 and am having issues restoring an image. I put the users dummy, root, and partimag in /etc/partimaged/partimagedusers. I did a touch /etc/gshadow. I created the user dummy which I will be using to restore. I set the passwords for dummy, root, and partimag. I started partimage by typing partimaged. Now when I restore the first image it works fine with no problems. If I launch partimage again and do another restore I get the following error:
incorrect password or user not in partimagedusers file
Now what is weird is if I kill and start partimaged each time I do an image it will work fine with no problems. I didn't have this problem on Knoppix 3.8.
Can anyone help me out here???

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99
INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99
ASRock b560 ATX Motherboard + Intel Core i5-11600K CPU Combo Gaming + 32 GB DDR4
$300.00
Intel 6th Gen Core i7-6700K 4.0GHz (Turbo 4.2GHz) 4-Core LGA1151 CPU SR2L0
$38.00
Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99
Intel Core i7-3770K 3.5 GHz Processor
$39.00
Intel Core I7-7700 SR338 3.60 Ghz Processor
$39.99
Intel Core i7-7700K SR33A 4.20GHz 4-Core LGA1151 CPU Processor
$62.95
LAST BATCH *Brand New-Sealed* AMD Ryzen 9 9950X3D2 Dual Ed. 4.3GHz 16Core AM5
$768.00
AMD - Ryzen 7 5800X3D 8-Core - 16-Thread 3.4 GHz (4.5 GHz Max Boost) w/ Ice Pad
$355.99