Does mobian use a root account and password?
#1
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?
  Reply
#2
Nope, the root password isn't set by default, so directly logging in as root isn't possible ("sudo su" still works though).
  Reply
#3
(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.

Is there actually a root password?
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.
母語は日本語ですが、英語も喋れます(ry
  Reply
#4
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
  Reply
#5
(01-10-2021, 04:07 AM)rp3 Wrote: 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
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.
母語は日本語ですが、英語も喋れます(ry
  Reply
#6
(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.

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
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.

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
  Reply
#7
(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.

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
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.

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
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

(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.

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
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.

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

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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PP Keyboard doesn't charge Pinephone (Mobian) jojuma 1 63 08-06-2022, 01:10 AM
Last Post: elode
  DDing mobian to emmc or microSD not starting... Mr.Berzerk 2 46 08-05-2022, 06:09 PM
Last Post: mark1250
  Battery problem with a Pinephone keyboard and Mobian elode 0 94 07-26-2022, 06:25 AM
Last Post: elode
  Improper Storage After Flashing Mobian Ferriah 1 134 07-23-2022, 05:11 AM
Last Post: LibrePhoneUser
  Low Disk Space on Filesystem root ichbins 4 303 07-07-2022, 01:22 PM
Last Post: ichbins
  Mobian website requires javascript user641 0 191 06-30-2022, 11:39 PM
Last Post: user641
  Hardware VIdeo Acceleration on Mobian biketool 3 742 06-21-2022, 01:01 PM
Last Post: biketool
  Any fix for bluetooth crash when entering pairing password? kk22 0 141 06-18-2022, 07:51 PM
Last Post: kk22
  cryptocurrency on mobian/pinephone biketool 31 7,879 06-15-2022, 03:14 PM
Last Post: Hobbes42
  Phosh 0.20 beta on mobian Anthony1224 1 448 06-11-2022, 06:29 AM
Last Post: Zebulon Walton

Forum Jump:


Users browsing this thread: 1 Guest(s)