Questions tagged [password]

Questions regarding password-based authentication and password management

Filter by
Sorted by
Tagged with
-1
votes
0answers
40 views

recover root password for linux on NAND

I have a linux running on a NAND and I don't know the root password. It only has ethernet cable and SD card on it, so I can't use GRUB to load the linux. Also I don't know the distro of the linux. ...
3
votes
1answer
40 views

Bad password is accepted despite password policy

I am working on an embedded Linux distro. I am trying to enforce a password policy through the pam_cracklib.so module I modified the /etc/pam.d/common-password file, that now looks likethis: password ...
0
votes
1answer
26 views

How does one use SFTP noninteractively to download a file from a remote host?

I have a laptop and a raspberry pi acting as a storage server. I'd like to know how to download a file without any user interaction other than running the program. I read through the man page, and ...
0
votes
0answers
13 views

Password manager with fingerprint support?

Is there a password manager with fingerprint support? I use Fedora KDE. I know that fingerprints might be somewhat insecure. Still, a password manager with fingerprint support is useful. It can be ...
2
votes
1answer
49 views

How can I redirect all output of a script to a file and replace passwords?

I'm running a ksh script on AIX 7.2. In debug mode I want to redirect all the script does to a brkpt-file. The script also makes logins to another application and therefore uses a password (let's say &...
0
votes
0answers
8 views

Can't input password with Colemak

I've been typing with Colemak layout for the past 3 years. Suddenly at the end of last month, I cannot type any password everywhere (login screen, password dialog, terminal) while using Colemak. I had ...
1
vote
0answers
50 views

echo hashed password for sudo command in multi system

I want to make a shell that sends command which runs at sudo level, from a system to multiple system. for example: for system in ${systems[@]}; do ssh $system "echo 'password' | sudo -S yum -...
2
votes
1answer
54 views

Is there a way to detect the user's password entry in sshd to warn that they must change it?

I have a box I would like to distribute as a Vagrant box (and eventually Dockerfile). the initial password specified in the README file, I'd like to detect if it is being used (it's very simple and ...
1
vote
2answers
39 views

Don't working Centos7 root password recovery methods

Each time whenever I tried to get in initrd shell i was faced with the same problem "Starting switch boot" and it did nothing... I tried to put rw init=/bin/sh instead of ro in kernel boot ...
0
votes
4answers
29 views

Passing a password (cat) to sed to replace config value

I have a config file called .env which contains: DB_PASSWORD={password} Within /root/.mysql/db00.yml.db we have a password for the MySQL root account. I'm trying to pipe this into sed along the lines ...
3
votes
1answer
130 views

Why I am asked for the password of a different account when trying to mount a disk?

I am on Debian 10 Buster. When using Nautilus (aka Files), I am always asked for my password when trying to mount another HDD. All normal. A few days ago, I am not asked for my account password ...
-1
votes
1answer
31 views

Salt bit required

I'm trying to figure out if we have in Unix password file N amount of account passwords, how many bits should be used for salt? I understand that most Unix used 56 bit password and some uses 12 bit ...
0
votes
1answer
47 views

Define the user with the specific password

I have the following users with password from /etc/shadow: userA:$5$FSRFdXhqehxiiFZV$SoIvO/4Y2tvOzIi.8p1Ud6AInQ3K5XT/WqVE5Zh4GT8:18388:0:99999:7::: userB:*:18388:0:99999:7::: userC:$6$SJRweUUklycIq1C$...
0
votes
2answers
76 views

KeepassXC-cli: Send password to stdout

I would like to authenticate to neomutt using keepassxc. I could not find a way to send password to neomutt's stdin. How can i do that ? I imagine something like this: keepassxc-cli exportpass ...
0
votes
1answer
39 views

I Can't Log In to my Account after Password reset

I forgot the password to my admin account in ubuntu, I googled how to reset ubuntu admin password, then did the following steps from the tutorial that I found online Enter Recovery Drop to root shell ...
0
votes
1answer
18 views

default username and password for Fedora 27 for Virtualbox

I downloaded Fedora 27 for Virtualbox (.box file) from this webpage https://app.vagrantup.com/fedora/boxes/27-atomic-host, but cannot find the default username and password. I tried username fedora ...
0
votes
0answers
17 views

Old Toshiba laptop asks for (non-existent) HDD password

I'm trying to wake up my old Toshiba Satellite 1410-604 laptop (bought in 2003) cause I want to use my old 35mm negative and slide film scanner which only runs on XP. Unfortunately, when I start the ...
0
votes
2answers
37 views

How to pass password when switching user via su username in one line

I have an ec2 instance , I connect to it and do the following: [userA@ip-abcd ~]$ ssh my_ec2_instance [userA@ip-abcd ~]$ whoami userA [userA@ip-abcd ~]$pwd /home/userA [userA@ip-abcd ~]$ cd ...
2
votes
1answer
45 views

Make Kate to ask password only once, instead of asking it at every file saving?

I am using KDE and Kate editor. When I want to edit some common system files such as configs in /etc, I am asked for password to save my edits. When I am editing files, I often do several changes, ...
0
votes
0answers
33 views

Login success without prompting for password

I have RedHat 7.9 machines in my environment. Some of the machines are taking me directly to the shell soon after I enter my AD username. The systems do not prompt for password. These machines are ...
0
votes
0answers
14 views

gpg edit-key <my email>

my private key is stored in .gnupg/private-keys-v1.d as <my_long_number.key> I have forgotten how I set up the keys. They work very well for encryption and decryption under gpg (GnuPG) 2.2.3 (...
0
votes
0answers
20 views

What is the purpose of -p flag in useradd command and how can I login without a password after using the useradd command?

For example, I used the command below. sudo useradd -p password1 test I was testing the useradd's -p flag when I added a new user. The creation of the new user was not a problem and copied skel to ...
0
votes
0answers
19 views

Mdaemon & superadmin password

i've to migrate Mdaemon mail server to postfix/dovecot server. It's possibile in Mdaemon set a superadmin password as in dovecot? thanks in advance
1
vote
1answer
40 views

Reverse SSH works but not passwordless. Getting password prompt

I have two systems Personal MacOS Laptop to be referred as system-Laptop having user laptopuser. It does not have "NAT" Server Linux to be referred as system-Server having user serveruser ...
5
votes
2answers
592 views

What prevents me from just editing the /etc/shadow file in unencrypted systems? [duplicate]

Real dumb question, but suppose a computer with Linux does not have an encrypted hard drive. If I generated a hash with "openssl passwd", couldn't I just run a live version of Ubuntu and add ...
0
votes
0answers
58 views

Capturing output of sudo commands run over ssh (without password prompt)?

If I run this command, the output is what I expect, listing the directory /root on my server. ~ bash -c "ssh -t myserver 'sudo ls /root'" Enter passphrase for key '/home/james/.ssh/ed25519':...
1
vote
1answer
34 views

kali user password not saved after reboot

I am running Kali on a persistent USB (in a nvme enclosure) and it works fine. But when i do "passwd aUserName" log out and back in, the new password is used like it should. However when i ...
0
votes
1answer
95 views

Netcat Brute Force Script

When I enter netcat [ip address] [port] I am asked to enter a password, I actually know the password, it is a date. However, I would like to create a script that enters the the netcat ip and port ...
0
votes
0answers
19 views

How to securely store credentials needed in a profile.d script?

Disclaimer: I'm working on Ubuntu 20.04, but I assume my question is unrelated to a specific Linux distribution. I've searched the Internet for quite some time and found lots of other similar ...
1
vote
1answer
32 views

Encrypted password with no linked algorithm

I was reading the shadow file structure explained here. I was wondering what happens if, perhaps for some type of error or wrong manual changes, the $id field representing the hashing algorithm is ...
0
votes
0answers
173 views

PAM account management error: Permission denied

I am getting some authentication errors while using some sudo commands in my Kali Linux. The error is: └─$ sudo apt-get update ...
0
votes
0answers
127 views

Debian stuck at the login screen

I don't know what is the problem, cause everything was ok with my laptop and debian, i have the last image with kde plasma desktop and i rebooted my pc and now I'm stuck at the login screen. I can ...
0
votes
0answers
24 views

SSH putty window closes on passwd -e

After creating a new local user account, in RHEL 7.9, I do passwd -e <account> after setting up the initial password. When that user uses putty.exe from a windows pc they successfully connect ...
0
votes
0answers
53 views

Incorrect password in Kali Linux

I have my Kali Linux and Windows dual booted. It had been a few days since I logged in to my Kali Linux but when I tried to login today, it says my password is incorrect. It was working fine before. I ...
2
votes
0answers
182 views

Remove Pop!_OS login password

I know this has been asked before, but I couldnt find a solution that fits my needs. I am the only user on my PC (running Pop!_OS 20.10). Nobody has access to my computer because I live alone. This is ...
1
vote
1answer
233 views

Unable to reset MariaDB root password

I am doing: $ sudo vim /etc/mysql/mariadb.conf.d/50-server.cnf then adding skip-grant-tables then $ sudo service mysqld restart then $ mysql -u root -p Enter password: Welcome to the MariaDB monitor....
0
votes
0answers
29 views

Cannot mount /dev/sda1 onto KNOPPIX

I am trying to do a grub and root password recovery but without knowing both of the credentials such as the root password and assuming that the grub menu is locked with an unknown password. I have ...
2
votes
1answer
169 views

Unlock ssh key on login

When in the graphical environment, seahorse unlocks my ssh key (locked with a passphrase) so I can ssh to another host without entering a passphrase. But when on the command line, I am still asked for ...
2
votes
1answer
47 views

One of my hard drives is asking for a password that I never set [closed]

I am using Linux Mint 20. I was working on my machine and suddenly vscode could not save the file. Then when I restarted my machine it showed the following screen. I removed the HDD to boot and ...
0
votes
0answers
127 views

Replace KDE Wallet with Password Manager like Lockwise

I recently started using Lockwise as Password Manager for my Firefox and Android. Now the only Passwords I still need to enter are the ones outside of my Browser on my Desktop. Is there any way to ...
0
votes
2answers
87 views

How can I use existing password-sha256, to allow login authorisation?

My goal I have an old MySQL database with usernames and passwords hashed using sha256. I don't have the original passwords and it is not possible to learn them. This is a simple user migration from a ...
2
votes
1answer
60 views

IMAP authentication by Mutt: Is Mutt transmitting password in plaintext?

I have recently started using mutt to access my email account via IMAP. My IMAP connection settings are as follows: set ssl_starttls = yes set ssl_force_tls = yes set imap_user = "username@domain....
2
votes
2answers
66 views

I have pass installed and so does my wife. Is there a convenient and secure way to share passwords with each other?

Both my wife and I use linux on different computers and have gnu pass installed. I want to share a few of my passwords with her. Is there a secure way to do this?
0
votes
0answers
14 views

Google password manager doesn't work in AwesomeWM

I'm running Ubuntu 20.04. I've installed AwesomeWM and I've really been enjoying using it. One problem that I've run into--there's some sort of password manager in Chrome that works well inside Gnome, ...
0
votes
0answers
40 views

in bash, is there a shortcut to wipe out typed password? [duplicate]

On the command line (usually bash, and somtimes zsh), I sometimes need to enter a password to authenticate myself. in fact, I need to do that several times a day. Sometimes, you fail typing and ...
1
vote
1answer
54 views

Cannot login as a regular user on FreeBSD

This user is a unpriviledged SFTP access user on our server, it was used during the stay-home order earlier this year due to Covid19, and I'm using it today to prepare some work for use tomorrow. ...
0
votes
1answer
102 views

How do you disable password-expiration on a newly-flashed copy of Ubuntu Server LTS for Raspberry Pi?

I've flashed Ubuntu 16.04 LTS onto an SD card, enabled SSH by adding the empty ssh file at the system root, and then SSH'ed into the Raspberry Pi with the username ubuntu: ❯ ~ [22s] ssh ubuntu@192.168....
0
votes
0answers
210 views

Obscuring password in cloud-init userdata startup of AWS EC2 instance

An AWS EC2 instance creates a new user during its cloud-init startup process, and sets the password for that new user. Terraform is being used to trigger the creation of the new EC2 instance, which ...
0
votes
1answer
110 views

Passwords in clipboard manager

I use a clipmenu, https://github.com/cdown/clipmenu a clipboard manager and also use pass, https://passwordstore.org a password manager. Pass copies the password to my clipboard for 45 seconds by ...
0
votes
1answer
110 views

How to make this Samba share accessible without any user/password login?

I have modified /etc/samba/smb.conf to create a [public] share: [global] workgroup = WORKGROUP log file = /var/log/samba/log.%m max log size = 1000 logging = file panic action = /usr/share/samba/panic-...

1
2 3 4 5
22