How to do automatic login or shorten the login number
#1
I was trying to figure out a way to do automatic login in Mobian on the PP, but I couldn't find anyway to bypass the login screen.



Then, I got the idea of just making my password one number long, so I could enter "1" instead of "1234". I edited the file /etc/pam.d/common-password and changed the line:



Code:
password   [success=2 default=ignore]   pam_unix.so minlen=4 sha512
to:

Code:
password   [success=2 default=ignore]   pam_unix.so minlen=1 sha512


Then, i changed the password from "1234" to "1" with: 

Code:
sudo passwd mobian

I was able to change the password, and the new password worked in the terminal, but the Phosh login screen would not accept the password of "1". Since I had no way to login, I had to reflash the eMMC.

How can I use a password which is less than 4 numbers?  And is there any way to do automatic login in Mobian, so I don't have to enter a password?
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Auto start application on Phosh login Zebulon Walton 6 839 09-05-2022, 06:27 PM
Last Post: Zebulon Walton
  Disable *automatic* on-screen keyboard iwakura_lain 0 429 06-11-2022, 09:49 AM
Last Post: iwakura_lain
  User login change usagi 11 2,646 05-13-2022, 01:16 AM
Last Post: johnpine
  Automatic Brightness Stuck On biketool 3 1,566 04-05-2022, 11:49 AM
Last Post: henrythemouse
  GDM3 Receiving call on login screen d-.-b 4 2,204 10-07-2021, 06:59 PM
Last Post: d-.-b
  Anyway to set up automatic backups? AwHereWeGoAgain 1 1,384 06-21-2021, 02:40 AM
Last Post: evilbunny
  Automatic app scaling a-wai 14 12,436 07-30-2020, 04:07 PM
Last Post: arturo2bodegas

Forum Jump:


Users browsing this thread: 1 Guest(s)