Questions tagged [password]

Questions regarding password-based authentication and password management

Filter by
Sorted by
Tagged with
0 votes
1 answer
20 views

expect script doesn't change password on Solaris

I have this script I run from a Linux machine to change root password on remote Solaris machine reachable by ssh. All seems to be fine, passwd command asks for a password, second password, reply that ...
user avatar
  • 25
0 votes
0 answers
62 views

Why it is allowed to enter very special characters to `passwd` in Ubuntu?

passwd in Ubuntu allows very special characters to became password like ᦕ, while you can only set very special characters to OpenSUSE with their Yast. Do the very special characters work properly in ...
user avatar
-3 votes
0 answers
36 views

Encrypt VM in KVM

I need to encrypt a Linux virtual machine using KVM. I have installed qemu-kvm, qemu-img, virt-manager, and libvirt on CentOS 8 and I created a virtual machine running Fedora. I now want to encrypt ...
user avatar
-2 votes
0 answers
41 views

Encrypt SVN user directory

Could anyone give me advice on the best way to encrypt the SVN version control system! I want to Encrypt the SVN User group(devs), but unable to figure out which one would be best fit OpenSSH or GNOME ...
user avatar
0 votes
0 answers
17 views

Kmail won't remember SMTP password

I have KMail configured to remember my password for both IMAP and SMTP. When receiving mail, I don't have any issues. However, every time I send, it prompts me to enter my password, even though "...
user avatar
  • 75
0 votes
0 answers
13 views

Mariner Linux install override password requirements

When installing Mariner Linux, it refuses to proceed due to the password not being strong enough. This is for a local VM, and password strength doesn't matter. In fact making it different from other ...
user avatar
  • 628
0 votes
0 answers
18 views

pwquality.conf difok clarification

in /etc/security/pwquality.conf there is difok Number of characters in the new password that must not be present in the old password. Is that regardless of character position? Such that if my minimum ...
user avatar
  • 4,101
0 votes
0 answers
30 views

How to find out what program is trying to open the GNOME keyring?

Some tens of minutes after I login with a KDE session, I get a modal gcr-prompter window asking for the master password of the GNOME keyring. The prompt does not include any information about what ...
user avatar
  • 887
0 votes
0 answers
24 views

RHEL 6 Password policy

I've setting my password policies in RHEL 6 using pam_passwdqc. This is what I've set into system-auth & password-auth files: password requisite pam_passwdqc.so min=disabled,disabled,disabled,...
user avatar
0 votes
0 answers
95 views

LinuxMint 20.3: Enter the Login Keyring password via the command line

#Refer: How to enter the Default Keyring password via the command line? - Ask Ubuntu I am asking this question here as I am not using Ubuntu and also the solution mentioned there doesn't work in ...
user avatar
  • 1,362
1 vote
1 answer
32 views

Interpretting PWCK Output

I am using pwck for the first time with Lynis 3.0.7 on Ubuntu 20.04 server and I have some strange output. I hope someone might help me interpret what I am seeing. I am working on freshly installed, ...
user avatar
0 votes
0 answers
15 views

MailLog - View passwords attempted in failed attempt

Is there any log in a Linux system (Ubuntu) That keeps a record of the failed password used. I am monitoring logs and see a lot of failed attempts, While i have measures in place to auto ban the IP ...
user avatar
-1 votes
1 answer
42 views

Offlineimap: python code to read refresh token from unix pass (or gpg file)

I use offlineimap to organize my emails, and in order to use my work account I am now obliged to use OAuth2 authentication. I successfully got a refresh-token, and thus offlineimap works if I set the ...
user avatar
  • 101
1 vote
2 answers
103 views

unix pass - passing passphrase with the usage of PASSWORD_STORE_GPG_OPTS

Here's info on the pass: https://www.passwordstore.org My key point is, that I would like to pass the passphrase key at the command line. However, the topic and solutions related to this question that ...
user avatar
  • 111
1 vote
0 answers
44 views

PASSWORD - Password change log

Is there any way to check all password change logs for one specific user? I'm using macOS and since its based on Unix, I thought that this could be the place to post this question. Someone changed my ...
user avatar
0 votes
2 answers
73 views

Resetting root password in Ubuntu

I need to reset my root password. I logged into my Ubuntu installation after a long time and cannot remember that password. I looked at some instructions out there. However instead of 'Press Enter for ...
user avatar
  • 101
1 vote
1 answer
149 views

How to mount on Linux a QNAP external drive with LUKS partition

I need help to mount an external drive used on my QNAP TS-230 (latest firmware) to backup data. I set encrypted partition (LUKS) on this drive with a passphrase. I tried to mount that partition on a ...
user avatar
0 votes
1 answer
217 views

How can I check passphrase of gpg from a file?

I want to check whether the passphrase of my user-id located inside a file is correct or not. I have stored my passphrase in a file (/home/user/.gpg_pass.txt), than I use it as: gpg --verbose --batch -...
user avatar
  • 230
0 votes
0 answers
21 views

Password policy with pam_tally2 and 6 ssh password prompts

I'm trying to configure a password policy on an embedded Linux distro. I want to have a 30 seconds cooldown after 3 failed login attempts. Therefore, I added in the common-auth file the last line, ...
user avatar
  • 351
0 votes
1 answer
542 views

Security boot and mok password

I had the same issue that VernonB discribed here in this post What exactly is MOK in Linux for? and I also disabled security boot. But I Wonder if I will have future problems with this mok password If ...
user avatar
  • 1
0 votes
1 answer
52 views

Change password in Rescue mode

I using ubuntu 21 with two nvme raid How i can change root passwd in rescue mode? lsblk df
user avatar
2 votes
2 answers
2k views

sudo not working on Kali running under WSL

I've installed WSL 2 and used Kali (previously had version 1.0). In both versions I have an issue - I cannot use sudo. As soon as I execute it, I get: Sorry, try again. Sorry, try again. sudo: 3 ...
user avatar
1 vote
0 answers
156 views

Windows cannot access Samba after changing password

I have a samba server setup in Ubuntu 18.04 and have multiple users with their own respective folder to access with their credentials. Right after a user changes his/her samba password the users ...
user avatar
0 votes
0 answers
36 views

Set a reminder every X days before password expiration

is there any way to set a password reminder every each X days before password expiration in Y days of overall Z days? I would need to set this offline (i.e. no change command). For example, I would ...
user avatar
  • 351
2 votes
1 answer
108 views

Accept both MD5 and SHA512 hashes is /etc/shadow

recently upgraded debian server with many users to a recent version. The old server used MD5 password hashes (the shadow passwords begin with $1$) and new one is configured to use SHA-512. I want to ...
user avatar
  • 21
0 votes
1 answer
314 views

How do I reset my root password on Chromebook?

I am very new to Linux and I'm not super computer savvy so that's sort of why I don't really know what I'm doing. I try to reset my root password in a Chromebook. As far as I know, I need to boot to ...
user avatar
  • 13
0 votes
0 answers
67 views

Pass (password manager) taking a long time to request master password

I have two arch linux machines: desktop & laptop; Both have pass as the password manager, with the same gpg key, versions, passwords; but when asking for password on the laptop popup that asks for ...
user avatar
-1 votes
1 answer
44 views

Multiple sudo -S in one command problem

I wonder how can I perform that command without inputing manually the password: echo "password" | sudo -S curl https://cli-assets.heroku.com/install.sh | sudo -S sh Currently it still asks ...
user avatar
  • 101
0 votes
0 answers
174 views

GNOME Debian 11 Bullseye Lock Screen Can't Login With Correct Password (screensaver?)

So I am running GNOME on Debian 11 bullseye. the screen lock was working fine. I think I installed X11vnc server (or something else) which could be the root of the problem. Now when I lock the screen ...
user avatar
0 votes
2 answers
87 views

Password visible while using SCP?

RHEL8 (default bash shell through ssh) > scp source_path remote_host:destination_path & > fg Password: @#$#@#myPassword'sVisibleOhNo!!! First of all, is this just my system, or is it ...
user avatar
  • 1
0 votes
0 answers
25 views

User not getting forced to change password

Any one has idea why user don't get prompted to change password after running below command on user account chage -d 0 user
user avatar
1 vote
0 answers
44 views

How to force user to change VNC password without leaving him any way to elude the rule?

I need to find a way to force all users to periodically change their VNC display password. I do the same thing for the users' linux credentials using chage command, and i noticed that when the user ...
user avatar
0 votes
3 answers
57 views

How to create a random complex password in SuSe 12

I need a way to generate a random password following this requirements: Password at least 9 characters at least 2 capital letters at least 2 small letters at least 2 digits at least 2 special ...
user avatar
0 votes
0 answers
48 views

openssl passwd password only works briefly

I am having a strange issue setting up linux VM instances. Please forgive me if this is basic, I am not a linux systems programmer (usually). I am trying to script the launching of 20+ linux ...
user avatar
0 votes
1 answer
108 views

AntiX linux, iceWM, how to suspend, and require password?

In AntiX Linux, using the default iceWM window manager. When I suspend a session, then wake it up, I expect it to ask for my screenlock password. Current behavior: it just wakes up without asking for ...
user avatar
  • 101
2 votes
1 answer
63 views

How to change the keyphrase in the pass program without reinitializing a pass store from scratch

I'm using the pass application which I find really handy. I want to change the keyphrase (mother password). I had a look at the man page there but i'm not sure what to do. Do I have to use the init ...
user avatar
  • 297
0 votes
0 answers
135 views

"Credentials cache" (temporary cache password) for rsync/ssh?

In git (at least on Linux), there is a thing known as a credential-cache (see for instance https://stackoverflow.com/questions/5343068/is-there-a-way-to-cache-https-credentials-for-pushing-commits). ...
user avatar
  • 360
1 vote
0 answers
98 views

Joined linux host to AD server using realmd. Unable to change ad user passwords from the command line

Have a fairly simple setup of one AD server with various linux hosts. We attached the linux hosts to our domain by using: realm discover domain.example.com realm join domain.example.com -U user.adm ...
user avatar
  • 312
-1 votes
1 answer
171 views

Sftp credentials are stored on my machine - but where?

In the past, I have successfully logged onto a server from my desktop using ftp/sftp. The password was saved somewhere in my system, but I am not sure where. I am now trying to change the password ...
user avatar
3 votes
2 answers
65 views

Avoiding typing long password repeatedly

I have a remote linux box that I login to with ssh and chrome remote desktop. It is not super critical, mostly used for my hobby projects. I have a pretty long password created using diceware. But it'...
user avatar
0 votes
2 answers
93 views

GNOME/gdm disable reveal password button

On the gdm login screen and on the GNOME lockscreen in the password entry box there is this little password reveal button at the right side. Since this is a toggle some classmates were able to trick ...
user avatar
  • 11
1 vote
1 answer
46 views

How can I type a password when fprint is enabled?

I use Fedora 34. I love what fprint is doing when it allows me to authenticate using my fingerprints on my ThinkPad's built-in fingerprint reader, but when I'm in my office, I like to dock my laptop ...
user avatar
-3 votes
1 answer
151 views

Not changing root password in Centos 7 [closed]

I have a CentOS 7 server and I couldn't log in to it because I forgot the root password. So I changed this password, but still did not work when I tried to log in using this new one. I'm using HP ...
user avatar
  • 1
0 votes
1 answer
50 views

Why is changing password on user account is taking time?

I have created a few accounts on my Linux Mint installation. A few of them have admin privileges. About 30 min ago I changed the password on one of the admin accounts using the Users Settings GUI. But ...
user avatar
0 votes
1 answer
60 views

How to periodically change root password

I have 60 systems with different root passwords. Every 3 months I have to change their passwords. Currently I have to manually log into 60 systems and come up with 60 different passwords. Is there a ...
user avatar
  • 147
0 votes
2 answers
119 views

linux telnet server check password file

in linux centos 7 linux using telnet server What is the name of the file responsible for checking the password, whether it is valid or not?
user avatar
0 votes
1 answer
89 views

Password protection for a file for 'write'

My requirement is to to protect a file with password. The user should be able to write/edit the file only after password authentication. But the user should be able to read the file without password ...
user avatar
  • 1
0 votes
1 answer
301 views

Salt size in /etc/shadow

After user password change the size of salt decreased in RHEL/Centos 6, eg: cat /etc/shadow ... root:$6$FkMNsNxT$FW77....................nbL0...... bin:*:15422:0:99999:7::: ... As you can see, ...
user avatar
0 votes
1 answer
75 views

Start apache HTTPD webserver non-interactively

I wish to non-interactively provide the password which is prompted when I start apache httpd webserver. The password would be a variable. I don't want the prompt and feeding password manually like ...
user avatar
  • 297
0 votes
0 answers
22 views

Exporting my gpg files (and pgp public/private keys) to Pass on new computer

I like using the program Pass, but am struggling a bit here on how to set it up from old files. So I have the .password-store/ folder, and I have my private and public keys as pgp files. I am ...
user avatar
  • 3

1
2 3 4 5
23