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.

4 points

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.

permalink
report
reply
2 points

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

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply
3 points

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.

permalink
report
reply
2 points

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

permalink
report
reply
3 points

If that’s all it is I’d be pretty embarrassed… Lol

permalink
report
parent
reply
1 point

well…was it?

permalink
report
parent
reply
1 point

Nope… Unfortunately…

permalink
report
parent
reply
1 point

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?

permalink
report
reply
2 points

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

permalink
report
parent
reply
1 point

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

permalink
report
reply
2 points

Correct. Hence the hacked comment.

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

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!

Community stats

  • 4.9K

    Monthly active users

  • 3.6K

    Posts

  • 81K

    Comments