this post was submitted on 29 Jun 2023
1 points (66.7% liked)

Selfhosted

39250 readers
232 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

On Ubuntu I was using sudo with no problem this morning but this evening my password is incorrect... I don't think there's anything I can do...

My question is, can I move my Lemmy instance from this machine to another? I understand very little about this. I'm very new at this... So please eli5.

top 13 comments
sorted by: hot top controversial new old
[–] linearchaos@lemmy.world 3 points 1 year ago (1 children)

Single user mode, change root password.

Thing is, if you were owned it's super hard to safely find and presents they left you. It's best to take your data to offline disks and wipe.

[–] rambos@lemmy.world 1 points 1 year ago (1 children)

Not sure can that be a problem, but I had simmilar thing when I changed keyboard language in windows by accident (stupid shortcut). My Z became Y and I couldnt type my password xD avoiding Z and Y since Check in any text edditor

[–] Soullioness@lemmy.world 1 points 1 year ago

That's hilarious! I wish that was the problem but I checked that I was about to type the password correctly.

[–] thenextfrontier@lemmy.world 2 points 1 year ago (1 children)

you probably just have to wait 10 minutes for the wrong password lock to expire

[–] Soullioness@lemmy.world 3 points 1 year ago (1 children)

If that's all it is I'd be pretty embarrassed... Lol

[–] manitcor@lemmy.intai.tech 1 points 1 year ago (1 children)
[–] Soullioness@lemmy.world 1 points 1 year ago

Nope... Unfortunately...

[–] outcide@kbin.social 2 points 1 year ago

If you've actually been hacked you want to get your data off to another computer and then wipe the hacked server. You can try and run a rootkit to see if it can detect any signs of being hacked.

Before using any files from the serer, check them carefully for virus and trojans.

If you just locked yourself out of the server by mistake, boot into single-user mode and reset your password.

Either way, unplug the network cable until you figure out if you've been hacked or not.

[–] BrianTheeBiscuiteer@lemmy.world 0 points 1 year ago (2 children)

I'm confused. Move your instance? As in, you're hosting an instance?

[–] 3laws@lemmy.world 1 points 1 year ago

Correct. Hence the hacked comment.

[–] Soullioness@lemmy.world 1 points 1 year ago

Yep. I just set it up. I've never done anything like this before and I was really worried about opening the ports up because I don't really know what I'm doing it's kinda my first time. Besides Minecraft and whatever.

[–] hitagi@ani.social 0 points 1 year ago (1 children)

You can mount the disk on a different Linux installation and just grab the docker volumes and config files and recreate it.

Kind of strange to get hacked this way though. Are you sure you've been hacked?

[–] Soullioness@lemmy.world 1 points 1 year ago

No I'm not sure at all but it's just so so weird! It's an old password that I shouldn't have used at all being so old and basic. It's just annoying typing in your password on Linux all the time lol