How to change the minimum password length when changing from default passwords
#2
There is two things you can do regarding the password:
Code:
sudo passwd mobian
sudo passwd root
to circumvent the password policy. See the mobian wiki

Or you could change the password policy by editing '/etc/pam.d/common-password'  See this issue.

To change the user name you can either build an image yourself using this debos recipe and supplying '-u <USERNAME>' to the build script.

Alternatively you could probably use Jumpdrive, mount the root partition and then rename /home/mobian to /home/user and also update the /etc/passwd and /etc/shadow files. However do this at your own risk, since I have never tried it. Not sure if this breaks the auto-login of phosh (maybe you need to do some changes there as well).


Messages In This Thread
RE: How to change the minimum password length when changing from default passwords - by devrtz - 07-18-2020, 11:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  4G data on default startup / boot dcinoz 1 846 04-29-2023, 11:24 PM
Last Post: dcinoz
  Bogus default gateway keeps appearing Zebulon Walton 7 2,227 02-25-2023, 09:48 PM
Last Post: Zebulon Walton
  Any fix for bluetooth crash when entering pairing password? kk22 0 859 06-18-2022, 07:51 PM
Last Post: kk22
  Change GUI from Phost to Gnome (or anything else) johnpine 0 853 05-27-2022, 06:52 AM
Last Post: johnpine
  User login change usagi 11 5,707 05-13-2022, 01:16 AM
Last Post: johnpine
  Does mobian use a root account and password? rp3 6 7,794 04-04-2022, 07:26 PM
Last Post: parry
  Changing Desktop Environments? Ferriah 14 8,631 01-20-2022, 06:58 AM
Last Post: grump_fiddle_reinstall
  Changing the ringtone? Hiraghm 9 16,493 10-10-2021, 09:48 AM
Last Post: gab
  Change default program for a file type 3x5co 1 1,771 09-01-2021, 05:26 PM
Last Post: Zebulon Walton
  Default SMS app send button off screen in vertical orientation motox6 0 1,248 05-22-2021, 02:55 PM
Last Post: motox6

Forum Jump:


Users browsing this thread: 1 Guest(s)