Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

how to allow 1 digit passwords on installation

Started by barfly, February 15, 2020, 01:28:22 PM

Previous topic - Next topic

barfly

Hi- I am new to sparkylinux and have had to abandon the installation as the installer insists on a complex password.  I only ever use a single digit login on my machines at

home; this is the only distribution I have come across that insists on these arbitrary rules on install.

No-one has physical access to my computer except me and I detest unmanageable passwords.

I would like to try sparky as it intrigues me but this is a total non-starter for me.

If I cannot alter this install behaviour I'll stick with Kubuntu.

Can anybody suggest a remedy.  I have tried editing the /etc/pam.d folder files with no success.

Regards, Tony.

pavroo

You have two solutions for that:

1. Install Sparky having 6 digits (at least) password as required; after the first login change your password, by the command:
passwd
and root password if needed:
sudo passwd root

2. Running Sparky live, before installation, edit a Calamares user config file:
sudo nano /usr/share/calamares/modules/users.conf
(use different editor than nano if you'd like)
and go to "libpwquality:" option changing:
- minlen=6
to your number of digits, then save the file and run the installer as normal.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

barfly

Pavroo - thank you for such a prompt response.   Your suggestion 1) is the method I normally use, but the install insisted on 14 digits with a capitals, numeral and sign.

I have been using linux since the very first version of Mandrake, and have never encountered this level of password complexity insistence in an installer-it is baffling to me

why anyone would make this a part of an otherwise simple install-it is certainly not the way to attract the Windows crowd.

I'll try your second suggestion and report back.

Cheers, Tony.

lami07

#3
Quote14 digits with a capitals, numeral and sign
0.o what?? That must be installer bug of some kind. Minimal password length is set 6 characters.
Quote from: forum rulesWhen an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
Want to chat? Join #sparkylinux at [url="//irc.freenode.net"]irc.freenode.net[/url]

barfly

Well, I tried again and now I can't get past the language selection screen, "waiting for modules" and hangs forever.

I downloaded the image again and put it on a different usb stick but the same result, checked the MD5 sum and it's all become too hard.

Until the installer for Sparkylinux is improved I don't want to waste any more time.  A whole day wasted, and I 'aint got that many left.

Cheers to you all and goodbye, Tony.

verndog

#5
Quote from: pavroo on February 15, 2020, 02:00:28 PM
You have two solutions for that:

1. Install Sparky having 6 digits (at least) password as required; after the first login change your password, by the command:
passwd
and root password if needed:
sudo passwd root

2. Running Sparky live, before installation, edit a Calamares user config file:
sudo nano /usr/share/calamares/modules/users.conf
(use different editor than nano if you'd like)
and go to "libpwquality:" option changing:
- minlen=6
to your number of digits, then save the file and run the installer as normal.
The above doesn't work.
Tried method ONE. It keeps asking for old method.
Method two is the ideal choice. Except the file your referring to is NOT what Calamares uses. This is the location it uses:
"]/run/live/rootfs/filesystem.squashfs/usr/share/calamares/modules/users.conf", an unfortunately its read only. I
I unsquashed the squashed file and changed the location but can't re-compile it. Whoever creates the efi ISO needs to do this.

EDIT:  The solution for me was to remove "users:conf" file. I tried edit the libpwquality section, and could never get it to work.

jerry99

I had the same problem. The solution (as root) with passwd <user> works perfectly with the latest version as of 2020-04-15

pavroo

I changed the Calamares user's password setup to digist numer 4 and quailty to 0 at the Calamares 3.2.23 so the iso 2020.04~dev and any next keep the changes.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

View the most recent posts on the forum