ROOT
#4
(01-03-2022, 04:04 AM)CavRic-1974 Wrote: On my PinePhone Beta Edition whit Manjaro CE i can't use ROOT.

Can you help me?
pinephone images are rooted by default.

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
  Reply


Messages In This Thread
ROOT - by CavRic-1974 - 01-03-2022, 04:04 AM
RE: ROOT - by wibble - 01-03-2022, 03:57 PM
RE: ROOT - by ryo - 01-03-2022, 09:27 PM
RE: ROOT - by zetabeta - 01-03-2022, 10:15 PM
RE: ROOT - by Danct12 - 01-04-2022, 02:16 AM
RE: ROOT - by CavRic-1974 - 01-06-2022, 10:44 AM
RE: ROOT - by ryo - 01-06-2022, 06:43 PM
RE: ROOT - by CavRic-1974 - 01-07-2022, 02:03 AM
RE: ROOT - by ryo - 01-08-2022, 08:30 PM
RE: ROOT - by CavRic-1974 - 01-10-2022, 01:51 AM
RE: ROOT - by CavRic-1974 - 01-11-2022, 08:19 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pcmanfm root permission error Dinosaur1946 4 2,793 01-11-2022, 06:52 PM
Last Post: Dinosaur1946
  Where is the fix for CVE-2021-31698 (Code execution as root via AT commands)? Timeo 1 1,700 12-08-2021, 04:23 AM
Last Post: wibble

Forum Jump:


Users browsing this thread: 1 Guest(s)