Page 1 of 1

Differences in password

Posted: 24 Aug 2021, 09:45
by Kulle
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

Differences in password

Posted: 02 Nov 2021, 21:16
by Rava
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.

Differences in password

Posted: 03 Nov 2021, 00:54
by fulalas
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 :)

Differences in password

Posted: 03 Nov 2021, 20:38
by Rava
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.