Suddenly nearly all Users gone after Shutdown


Recommended Posts

A wonderful good day my friends,

 

Yesterday I briefly shut down the Unraid server and unscrewed the feet on the housing.

 

When I booted the system up again, no network share was functional anywhere.

 

Then I saw this on the Dashboard:

whatunradi.png.38ebdd34d67ff89c4bbecfdab421ebf4.png

Even after several reboots, the appropriate users no longer appeared.

 

I was able to recreate all users again.

whatunradi2.png.12ea7390a4976a46c17c2fb7928196bf.png

The Unraid still knew all permissions of the other users..

 

whatunradi3.png.3b848ca3cd12ef94b5e0a785cd73a28b.png

Sadly, I can no longer delete this weirdo. I have changed his permissions. Had access on my "share"-share, which was set in public...

whatunradi4.thumb.png.bd55a2589c7007beced4d409f6c0ba80.png

 

Now to the question:


1. how could I find out what happened?
2. is it possible to delete users created in Unraid via CLI?

 

Thanks in advance and have a good start into the new year.

Link to comment

The last backup is a bit older, sadly. :|

 

root@Tower2:~# ls -alh /boot/config/shares/
total 152K
drwx------  2 root root 8.0K Sep  3 13:36 ./
drwx------ 11 root root 8.0K Dec 31 12:09 ../
-rw-------  1 root root  436 Dec 30 21:40 Share.cfg
...

 

root@Tower2:~# cat /boot/config/shares/Share.cfg
# Generated settings:
shareComment=""
shareInclude=""
shareExclude=""
shareUseCache="no"
shareCachePool="cache"
shareCOW="auto"
shareAllocator="highwater"
shareSplitLevel=""
shareFloor="0"
shareExport="e"
shareFruit="no"
shareCaseSensitive="auto"
shareSecurity="private"
shareReadList=""
shareWriteList=""
shareVolsizelimit=""
shareExportNFS="-"
shareExportNFSFsid="0"
shareSecurityNFS="public"
shareHostListNFS=""

 

What you mean by garbled?

Link to comment

It's the only one starting with a b, yes.

 

root@Tower2:~# ls -alh /boot/config/shares/backup.cfg 
-rw------- 1 root root 457 Mar 13  2022 /boot/config/shares/backup.cfg

 

root@Tower2:~# cat /boot/config/shares/backup.cfg 
# Generated settings:
shareComment="Backup"
shareInclude="disk1"
shareExclude=""
shareUseCache="no"
shareCachePool="cache"
shareCOW="auto"
shareAllocator="highwater"
shareSplitLevel=""
shareFloor="0"
shareExport="-"
shareFruit="no"
shareCaseSensitive="auto"
shareSecurity="private"
shareReadList="chef"
shareWriteList="backup"
shareVolsizelimit=""
shareExportNFS="-"
shareExportNFSFsid="0"
shareSecurityNFS="public"
shareHostListNFS=""

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.