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 

Veracrypt mounted partition – asking for authentication for EVERY file operation

I have a mounted veracrypt container. As user, I have read/write permissions set up.

Every time I run a file operation in the container, it asks for authentication with my user password again (not the container password).

What have I done wrong with my setup?

I’ve got Kleopatra on the same machine for my GPG keys. Is there some interaction with that?

Why does nautilus keep asking for username / password when connecting to a SMB share? I can’t connect

I want to share a folder.

I went to the Documents folder, right clicked, turned on sharing, gave it a name.

Nautilus installed Samba and said it was working.

I navigated to the “Other locations” area and found my computer’s name.

I clicked into that and found the share.

Clicked that and it asked for an anonymous connection or a registered connection.

I tried both and both times it failed. I can’t connect with any machine on the network though others can see it.

What’s happening? I’ve restarted the computer but still the same. A constant request for password each time I enter and try and connect.

Asking users to sign in when already logged in

This is a rather confusing user interface element:

eBay sign in link

  • The presence of my name indicates to me that I am logged in
  • The presence of the “Sign in” link indicates to me that I am logged out

eBay isn’t the only site that does this. I’ve noticed that Amazon does this too.

It appears that this happens upon my session timing out, however I also notice that my session hasn’t completely timed out. For instance, my name and postal code are still remembered as the calculated price including shipping is available when I browse through items. In this half-authenticated state, I can’t add items to Watch List, bid, etc.

Is having this half-authenticated state a good idea? Can improvements be made to the greeting/sign in UI as indicated in the attached image?

Hate to keep asking so many questions :)

Still learning a lot.  I’ve tried a zillion different ways and can’t figure out how to scrape Instagram for URLS.

I have have several other bots that scrape IG with ease, but none of them saves the URL in the profile.  I was trying to use Link Extractor to feed it a bunch of IG urls and extract the links to their external sites.  I run it but it gives me zero results.  Is there any way to do this? Thanks!!

What version of Nautilus fixed the SFTP always asking for password bug?

I’m running Ubuntu, and I was wondering if anyone knows what release this bug was fixed in Nautilus?

The bug is Nautilus, no matter what setting you use for storing the password: “Remember Forever, Until I sign out” would ask for it every time.

I’m only asking for the version number of the package I need to obtain (whether it be nautilus or some library it uses).

Border control officer asking questions on leaving Canada

I have recently been to Canada. On my return flight to Europe, just outside airplane’s door, I was questioned by the officer. I was asked where I was going to, how much money I have on me (and he was interested both in the amount of Canadian dollars I have as well as the currency of my destination country) and what is my occupation. In fact other passangers were questioned as well. As far as I can tell the answers were not recorded.

I am very curious as to what was the purpose of this questioning? While I understand that those kind of questions might have been asked when I was entering Canada, I don’t really see the point of them being asked just before my return flight. In fact those questions were much more detailed than those I was asked when entering Canada.