Can't delete dummy user in User Manager
-
I have a situation where I have a dummy user in User Manager that I can't delete.
His icon is grey with no name, disabled or groups info. How do I get rid of this phantom user?
-
You may need to download a configuration backup and remove it manually. I suspect it's a completely empty <user>tag. Once you manually remove it, restore the backup and it will be gone.</user>
-
I found the following highlighted in red and it doesn't look right:
<user><scope>user</scope>
<password>$1$v2ZcBYto$.tWerteOq/qOdM6JoO.</password>
<md5-hash>f23f40f37b87b73a20eaaa11eb32758</md5-hash>
<nt-hash>613765396335313936376431616545434623438353938623737636466396331</nt-hash>
<name>MyUsername</name><expires><authorizedkeys><ipsecpsk><uid>2004</uid>
<cert>52eaa4510271c</cert></ipsecpsk></authorizedkeys></expires></user><user><scope>user</scope>
<password>$1$f09Bty1r$cv9TertetzIv5yqfho2wo.</password>
<md5-hash>6434499b4325b8393acf6ac7f3dac7a8</md5-hash>
<nt-hash>3032393330366566616132313063345566333563303335396130313963636230</nt-hash>
<name>YourUsername</name><expires><authorizedkeys><ipsecpsk><uid>2007</uid>
<cert>52eaa55b611cd</cert></ipsecpsk></authorizedkeys></expires></user> -
Yep, delete that line in red and restore your config.
If you know how to make the problem happen, then report it, then the original cause can be fixed. -
Hmm, I think I did something stupid like deleting the user from User Manager that I was logged in as. It should never let you do that, but it did. I'll try to log it once I can reproduce it.