Differences in password

Non release banter
Kulle
Warlord
Warlord
Posts: 594
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

Differences in password

Post#1 by Kulle » 24 Aug 2021, 09:45

Differences in password
Porteus 4.0
sudo: guest
su: toor

Porteus 5.0
sudo: toor
su: toor
Why this difference?
I've used in 4.0 in scripts many times such commands:
echo guest | sudo -S activate ....
and similar commands
All of that has to be changed now

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Differences in password

Post#2 by Rava » 02 Nov 2021, 21:16

Kulle wrote:
24 Aug 2021, 09:45
Differences in password
Porteus 4.0
sudo: guest
su: toor
since I hardly ever use sudo this discrepancy never occurred to me.
funny insults by sudo aside, you are correct. in 4.0 sudo should also use the pw that su uses.

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Differences in password

Post#3 by fulalas » 03 Nov 2021, 00:54

I guess the change makes sense.

We have 2 credentials by default:
user: guest / pass: guest
user: root / pass: toor

If we want to give admin rights to guest user, we should have a different password, and just to avoid tseug, toor was chosen to keep it easier to remember :)

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Differences in password

Post#4 by Rava » 03 Nov 2021, 20:38

fulalas wrote:
03 Nov 2021, 00:54
We have 2 credentials by default:
user: guest / pass: guest
user: root / pass: toor
but by that logic, both su and sudo should use toor as password. But in 4.0, sudo uses "guest" as password for guest to run as root when it also should be toor.
Cheers!
Yours Rava

Post Reply