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 8 5,099 10-14-2023, 06:29 AM
Last Post: alaraajavamma
Exclamation Impossible to login since the latest update anonymous 12 6,071 02-26-2023, 01:01 PM
Last Post: anonymous
  Disable *automatic* on-screen keyboard iwakura_lain 0 1,181 06-11-2022, 09:49 AM
Last Post: iwakura_lain
  User login change usagi 11 7,360 05-13-2022, 01:16 AM
Last Post: johnpine
  Automatic Brightness Stuck On biketool 3 3,158 04-05-2022, 11:49 AM
Last Post: henrythemouse
  GDM3 Receiving call on login screen d-.-b 4 4,403 10-07-2021, 06:59 PM
Last Post: d-.-b
  Anyway to set up automatic backups? AwHereWeGoAgain 1 2,332 06-21-2021, 02:40 AM
Last Post: evilbunny
  Automatic app scaling a-wai 14 18,069 07-30-2020, 04:07 PM
Last Post: arturo2bodegas

Forum Jump:


Users browsing this thread: 1 Guest(s)