Ubuntu 18.04 | Reset password asking me to Retype new password twice. libpam-pwquality

I recently tried to implement a password policy (at least one digit, upper case, lowercase, a special character) using the libpam-pwquality module. After that, the system asks me to retype password twice whenever I try to reset the password. Not sure if I modified the configuration file correctly. Did I made any mistake in the configuration file “common-password”. Someone, please help me out.

Logged in as user:

$   passwd Changing password for testuser. (current) UNIX password: Enter new UNIX password: Retype new UNIX password: Retype new password: passwd: password updated successfully 

$   passwd testuser Enter new UNIX password: Retype new UNIX password: Retype new password: passwd: password updated successfully 

my common-password file:

# # /etc/pam.d/common-password - password-related modules common to all services # # This file is included from other service-specific PAM config files, # and should contain a list of modules that define the services to be # used to change user passwords.  The default is pam_unix.  # Explanation of pam_unix options: # # The "sha512" option enables salted SHA512 passwords.  Without this option, # the default is Unix crypt.  Prior releases used the option "md5". # # The "obscure" option replaces the old `OBSCURE_CHECKS_ENAB' option in # login.defs. # # See the pam_unix manpage for other options.  # As of pam 1.0.1-6, this file is managed by pam-auth-update by default. # To take advantage of this, it is recommended that you configure any # local modules either before or after the default block, and use # pam-auth-update to manage selection of other modules.  See # pam-auth-update(8) for details.  # here are the per-package modules (the "Primary" block) password        requisite                       pam_pwquality.so retry=3 ocredit=-1 dcredit=-1 ucredit=-1 minlen=8 password        [success=1 default=ignore]      pam_unix.so obscure sha512 # here's the fallback if no module succeeds password        requisite                       pam_deny.so # prime the stack with a positive return value if there isn't one already; # this avoids us returning an error just because nothing sets a success code # since the modules above will each just jump around password        required                        pam_permit.so # and here are more per-package modules (the "Additional" block) password        optional        pam_gnome_keyring.so # end of pam-auth-update config 

Tax printed twice in sales order emails

We have Tax defined as 7% GST in Tax configuration and is printed fine everywhere except the emails sent for order confirmation where there is a separate row as Tax and a mention of the 7% so with both there it is confusing for the users. Check the screenshot attached. Is it possible to remove one of that? How to remove it? I checked the layout file for email and it had only Tax block defined as single block so if I take it out, then whole Tax will be gone from there. enter image description here

Have to Power Boot Twice to Load Lubuntu 18.04 on old 32-bit Dell Laptop

I have an old, 32-bit Dell Inspiron 1505 laptop that had been running an earlier version Lubuntu. I recently installed Lubuntu 18.04 and it initially worked. Then, following a major software update to that re-installation (45 minutes), an unusual boot problem occurred. Problem Statement • Press power button once: Dell splash screen > brief flash of dim background light > Grub menu appears > screen remains black for as long as I let it sit there, but the power indicator light remains ON. So power is on but with a black screen. • Press and hold power button: brief flash of dim background light > power goes OFF. Power indicator light OFF. No power to the laptop. • Press power button a 2nd time: Dell splash Screen > Grub Menu > blinking cursor > /dev/sda1/ recovering journal, followed by a minute of messages for starting various services and modules > Lubuntu desktop opens. Power light ON, hard drive light OFF, until I open a browser; then the hhd light turns ON. • So, I am able to access the GRUB menu on the 2nd power boot and open Lubuntu • I can boot from either the USB or DVD options, and from a Live DVD USB or disk Actions Taken so far: • I have run ‘Boot Repair Disk’ twice. I have posted its report at http://paste.ubuntu.com/p/WZdNGXKWzG for further info. • If it matters, the battery on this laptop is no longer taking a charge. • I have run MemTest+86 and hard drive S.M.A.R.T. tests, and they show no errors • Sda1 is using the ext4 file format. I have researched this problem and identified several potential solutions: 1. Edit Grub file and replace ‘quiet splash’ with nomodset 2. Use a different kernel (I only have 1 on the Grub menu) 3. Disconnect a USB mouse (didn’t help) 4. Substitue gdm for lightdgm as default log in manager (how to do this?) 5. Boot into a recovery mode and run fsck 6. Examine the /var/log/dpkg.log for errors 7. I have read there is a bug with Lubuntu 18.04 on 32-bit systems So if Grub menu works, power to the laptop is on (on 2nd power button), and hardware is not an issue (hhd and RAM tested good), then at what point does this boot problem occur, what does ‘recovering journal’ imply, and how do I fix it? It seems to me to be a software, rather than a hardware problem, but any suggestions would be most appreciated to this highly frustrating boot problem. Thanks.

Would a Sorcerer roll damage once or twice when Twinning a damaging (non-attack) spell? [duplicate]

This question already has an answer here:

  • How many attack/damage rolls does a sorcerer make when using the Twinned Spell metamagic option? 4 answers

There is a useful rule in the PHB concerning multiple creatures being damaged simultaneously (PHB, p. 196):

If a spell or other effect deals damage to more than one target at the same time, roll the damage once for all of them.

That’s a handy rule that stops us from needing to roll damage dozens of times for a single fireball. But it got me thinking about the Sorcerer’s twinned-spell metamagic (PHB, p. 102).

When you cast a spell that targets only one creature and doesn’t have a range of self, you can spend a number of sorcery points equal to the spell’s level to target a second creature in range with the same spell (1 sorcery point if the spell is a cantrip).

It has been clarified elsewhere that you aren’t casting a second spell, but rather including an additional target in the effect of the original spell. And while it’s been established that the attacks from a twinned spell with attack rolls don’t happen simultaneously (specifically in the case of Booming Blade), it seems less clear to me that this would be the case for spells with no attack roll.

So if a spell like Blight were twinned, would you only roll once for the damage and use that total for both targets (modified by their respective saving throws), or would you roll damage twice (once for each target) because the original version of the spell only targeted one creature?

When plugging mobile, ubuntu 18.04 prompt the file browser twice

When i plug a mobile device to my ubuntu (18.04) it prompt an empty file browser, and on the mobile it ask me to approve the computer to explore my files. If i choose “approve” it work as expected, but if i choose “deny” it prompt another browser – and both windows show my home folder.

This behavior repeat itself and i can’t tell why. It seems like a bug but didn’t find similar questions.

Tried with Samsung J7, Samsung S8, LG Q7 and LG G5.

Wonder if it something i should worry about or if it is well-known bug…

Google Maps’ shortcuts needs to be used twice in order to work

I’ve been using Google Maps app’s shortcut for 2-3 years so far:

enter image description here

For past 2-3 weeks (since latest Google Maps’ update?) it turned out that I have to use it twice, i.e.:

  • long-press Google Maps icon to reveal its app’s shortcuts,
  • tap on any,
  • wait until Google Maps starts up,
  • hit Home button to exit Google Maps,
  • long-press GM’s icon again,
  • use app’s shortcut again.

If I do this the regular way (i.e. only once) I end up with Google Maps opening in navigation mode, but with “Destination” field empty and asking me where to I want to go.

Only, if I use app’s shortcut for the second time, I get the usual results — i.e. Google Maps starting in navigation mode, with destination set and with route calculated, ready to navigate me.

Is this some kind of bug in Google Maps? Is there a workaround for this?

Does Alchemical Mastery allow you to add your intelligence mod twice to a healing spell?

The new Unearthed Arcana artificer archetype alchemist has a feature called Alchemical Mastery, that, among other things, allows you to add your intelligence modifier to the healing effect of a spell that restores hitpoints.

As I understand it, cure wounds already does this: 1d8+spell casting modifier.

Would this combine so that the healing was 1d8 plus twice intelligence modifier?