01-03-2022, 10:15 PM
(01-03-2022, 04:04 AM)CavRic-1974 Wrote: On my PinePhone Beta Edition whit Manjaro CE i can't use ROOT.pinephone images are rooted by default.
Can you help me?
maybe some users are expecting magisk like su binary which puts fancy animations and u.i. when needed and used. btw, googoole has seized one developer to develop magisk software, because that developer works for googoogle.
pinephone uses linux model, which is chosen usually by two options. root user model, sudo model. in root user model, root user is different with different password. where sudo model ordinary user's password is given to give temporary root access (user needs to belong sudo group). almost all pinephone images uses sudo model. (both could be used by some distros).
(01-03-2022, 09:27 PM)ryo Wrote: Try:
Code:sudo su
If that doesn't work:
Code:su
Both of which are highly discouraged, especially if you're new to Linux.
If you need root rights for 1 command, just use "sudo (whatever command)", this is the least harmful way to execute commands as root.
btw, hyphen-l is recommended. root environment variables are usually different from user env.
Code:
if ordinary user belongs to the sudo group:
$ sudo su -l
if root user is activated:
# su -l