Does mobian use a root account and password? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139) +---- Thread: Does mobian use a root account and password? (/showthread.php?tid=12735) |
Does mobian use a root account and password? - rp3 - 01-07-2021 Hi, just a quick question, on my mobian installation (using the installer with the encryption feature), I tried typing su into kings cross, and was asked for the root password, and tried several things, like my encryption password or user pin, but it did not accept it. Is there actually a root password? RE: Does mobian use a root account and password? - a-wai - 01-08-2021 Nope, the root password isn't set by default, so directly logging in as root isn't possible ("sudo su" still works though). RE: Does mobian use a root account and password? - ryo - 01-08-2021 (01-07-2021, 11:14 PM)rp3 Wrote: Hi, just a quick question, on my mobian installation (using the installer with the encryption feature), I tried typing su into kings cross, and was asked for the root password, and tried several things, like my encryption password or user pin, but it did not accept it.sudo su (YOUR MOBIAN PIN) passwd This way you can set the root password to whatever you want. Not that you need it, it's probably safer to log into "sudo su" from the "mobian" user. Or better, change the user name from "mobian" to something else. If Mobian ever becomes more mainstream, hackers will know what user to target, and they'll know the user is using a PIN. It's easier to crack a code that can consist of 10 possible integers than it is to crack a code that can consist of (let me guess, I can't count) 100 possible characters. RE: Does mobian use a root account and password? - rp3 - 01-10-2021 ryo, thanks for tip about password, this is interesting. I am wondering if I change the password from a numeric pin if I will have trouble unlocking the phone when presented with the number pad? -or will this still be the old numeric pin, independent of the new alphanumeric password? -Thanks RE: Does mobian use a root account and password? - ryo - 01-10-2021 (01-10-2021, 04:07 AM)rp3 Wrote: ryo, thanks for tip about password, this is interesting.If you mean changing for the Mobian user, then yes. You will be locked out from the GUI, so I do hope you have SSH enabled before you even try this out, or you'll need to re-flash your phone as your only way out. You must change it to a password consisting of numbers only in order to be able to unlock the screen. If you mean changing for the root user, then that will have no meaning regarding ability of logging into your phone. RE: Does mobian use a root account and password? - parry - 04-01-2022 (01-10-2021, 05:35 AM)ryo Wrote:(01-10-2021, 04:07 AM)rp3 Wrote: ryo, thanks for tip about password, this is interesting.If you mean changing for the Mobian user, then yes. For me the question is how to change the default pin. The only place I can find to do that through the UI is under Users (in Mobian). However as much as I can change the 1st entry with a new password, the system wont allow me to enter a confirming string. I understand that I can change the pin through the comand line using passwd, but why can't I change the pin through the UI ? In fact changing the password with passwd does not change the login pin. This is rather frustrating. And inane Thanks for any replies RE: Does mobian use a root account and password? - parry - 04-04-2022 (04-01-2022, 09:58 AM)parry Wrote:OK, let me reply. It is rather idiotic, but going to the Users section of the Settings app although completely intuitive, does not work. Really??? Yes really. Instead, starting a terminal session and using the usual linux command passwd takes care of the problem. Not even sudo passwd - which does not retain the change. I wonder where I missed the documentation for this. Duhhhhhh(01-10-2021, 05:35 AM)ryo Wrote:(01-10-2021, 04:07 AM)rp3 Wrote: ryo, thanks for tip about password, this is interesting.If you mean changing for the Mobian user, then yes. (04-01-2022, 09:58 AM)parry Wrote:(01-10-2021, 05:35 AM)ryo Wrote:(01-10-2021, 04:07 AM)rp3 Wrote: ryo, thanks for tip about password, this is interesting.If you mean changing for the Mobian user, then yes. OK, let me reply. It is rather idiotic, but going to the Users section of the Settings app although completely intuitive, does not work. Really??? Yes really. Instead, starting a terminal session and using the usual linux command passwd takes care of the problem. Not even sudo passwd - which says the password has changed does not retain the change. I wonder where I missed the documentation for this. Duhhhhhh. |