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
  Mobian Bulleyes aberrio 0 37 Yesterday, 08:27 AM
Last Post: aberrio
  Mobian, Suspend, and Audio Playback biketool 0 99 12-11-2024, 12:56 AM
Last Post: biketool
  Upgrade to Mobian (Trixie) Staging biketool 12 640 12-06-2024, 05:46 PM
Last Post: vusra
  how to update mobian over tor vusra 14 9,408 12-04-2024, 07:01 PM
Last Post: vusra
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 41 9,256 11-27-2024, 10:39 AM
Last Post: fernando_c_m
  atinout binaries for mobian/debian? NeutralGrey 4 1,496 10-31-2024, 04:16 AM
Last Post: astylethargic
  Mobian-Kicksecure? 3460p 0 898 05-26-2024, 02:09 PM
Last Post: 3460p
  Mobian repository status henrythemouse 16 12,391 04-10-2024, 10:02 AM
Last Post: diederik
  cant verify mobian image at website gnugpg penguins_rule 0 951 03-18-2024, 08:54 PM
Last Post: penguins_rule
  mobian installed to eMMC - how to install tow-boot grump_fiddle_reinstall 6 4,103 11-22-2023, 11:46 AM
Last Post: aLoop100o

Forum Jump:


Users browsing this thread: 1 Guest(s)