fearing malware/intrusion-want to change root password on running system.

Moderators: 666philb, Forum moderators

Post Reply
boof
Posts: 587
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

fearing malware/intrusion-want to change root password on running system.

Post by boof »

fossapup64-9.5 us spot for internet, but if i change root password an intruder will have trouble doing any harm. If I also change spot password that might help. I;ve been sharing screens with dodgy bros. and want proection.

User avatar
Jasper
Posts: 1889
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 909 times
Been thanked: 391 times

Re: fearing malware/intrusion-want to change root password on running system.

Post by Jasper »

@boof

type in passwd into terminal.

Then you type in passwd -d <YOUR-NEW-PASSWORD>

User avatar
Flash
Moderator
Posts: 1036
Joined: Tue Dec 03, 2019 3:13 pm
Location: Arizona, U.S.
Has thanked: 60 times
Been thanked: 140 times

Re: fearing malware/intrusion-want to change root password on running system.

Post by Flash »

@Jasper, in a system where you're not running as root and you don't know the password for root, will sudo passwd -d let you change the password?

Chaos coordinator :?
User avatar
Jasper
Posts: 1889
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 909 times
Been thanked: 391 times

Re: fearing malware/intrusion-want to change root password on running system.

Post by Jasper »

@Flash

No, the non-root user can change the root password if they have root privileges and know the current root password.

https://www.linuxtechi.com/10-passwd-co ... -in-linux/

I would take into consideration that some people do not change their default passwords and these can be found easily enough online.

User avatar
Jasper
Posts: 1889
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 909 times
Been thanked: 391 times

Re: fearing malware/intrusion-want to change root password on running system.

Post by Jasper »

@Flash

I had read online that if you are using Ubuntu Fossa, you can bypass all of this and gain shell access without knowing the password.

This is achievable by using GRUB and adding an additional command at the time of boot up.

The same applies to Debian.

Apparently, it was made available intentionally by the developers and not a security issue.

Sometimes you just forget the passwords :roll:

Post Reply

Return to “Fossapup64”