Questions tagged [password]

Questions regarding password-based authentication and password management

Filter by
Sorted by
Tagged with
-2
votes
0answers
16 views

how to store oauth json files, apis … safely?

I wonder if exists a good solution to store some sensible data like files containing apis, passwords ... that other programs read to authenticate. For example, I have a google app that works in this ...
0
votes
1answer
17 views

Troubleshooting inability to log in remotely or via SSH (CentOS)

A server under my control recently was recovered after suffering hardware failure. We seem to have successfully retained all data, however no one has been able to actually sign in to the server ...
0
votes
1answer
23 views

Shell for only changing password

I need to restrict all access to a user on a RHEL 8 system and allow them to only change their own password. I thought that I could do [root]$ usermod <username> -s /bin/passwd but this is not ...
0
votes
0answers
22 views

adduser name password set to a different user

I am root user and added a new user to the system with adduser username and set the password. I left my server for a half or or so and I come back and press the escape key "wake it up" I go ...
0
votes
1answer
33 views

Within WSL session, ssh to external Linux box

I am attempting to ssh without password to Linux server from WSL in Win10. I setup private and public keys as usual, copy over public key to Linux server, and add it to authorized keys. ssh still ...
3
votes
1answer
47 views

Why when we type wrong password in terminal it has long delay to respond? [duplicate]

I don't know it's just my experience or not, but every time I type a wrong password in terminal, it takes 2 or 3 seconds to respond. And I think It's a very long time for a computer. Does anybody know ...
0
votes
1answer
24 views

How to remove saved smb or sftp username and password in thunar kali linux?

I have logged in to a user and logged out, after that, I want to connect to the same host again but on different user. And i can not do that because thunar automatically logged me into the old user. I ...
0
votes
1answer
53 views

Use sudo but forgotten my password

I am trying to use sudo on a linux server but have forgotten my password. is there any way to retrieve it? Is this the same password I use to login to ssh?
0
votes
1answer
18 views

Creating a group specifically for password manager, how does that work?

When you use a password manager (client side) on linux, I read that you should place the password database in a directory with OWNER and GROUP "passman" or something. Then do the same to the ...
1
vote
0answers
89 views

The account is locked due to 3 failed logins - can I have this echoed in a terminal emulator?

Sometimes I get the password wrong, and it doesn't work anymore. Ok, fine, but sudo keeps saying the same thing, Sorry, try again, I since I forget about this from one episode to another, I got really ...
4
votes
1answer
98 views

How to password protect a directory in linux? without zipping, changing file permission or encrypting?

I'm a user on a public Linux server. We have a public shared folder which all users can use. I want to create a folder that I only want a few users to access. This can be done in the following ways: ...
0
votes
1answer
28 views

How to reset admin password for remote VM running Ubuntu

I have a VM running Ubuntu 18, on which I have both a normal user account and an admin account. Now I lost the password for the admin account and can’t update or install new software anymore. The VM ...
0
votes
2answers
57 views

Copied root filesystem, now user/root logins not working

I copied my root filesystem to another partition today, using cp -r --preserve=all, as I want to have a backup in case I have an issue with my main system. I am using Parabola, which is a libre ...
6
votes
2answers
503 views

How to retrieve ssh password with a working ssh key

I always login a server with a ssh key, so I am not sure what my actual password was anymore. I would need to guess a couple of times. However the server has fail2ban and I don't want to trigger that. ...
0
votes
0answers
27 views

Can't reset Ubuntu 14 password

I am just turning this Thinkpad on after a few years of it being off. I forget the password and know that I reset it at one point, but now when I try to reset it again and go into recovery mode and ...
0
votes
3answers
104 views

How to escape '@' in curl command password field

My username is user1 and password is mypass8@ I wish to pass this username and password to curl command. How do i escape the @ in the password when passing it to curl command ? curl -k -X POST https://...
0
votes
0answers
34 views

How to cache systemd-ask-password data for automatic systemd service restarts?

I have created a web service that requires a password to decipher its config data. The password could not be stored as raw data anywhere on the disk (very strict bureaucratic requirements from the ...
1
vote
0answers
16 views

Backing up UNIX(Linux)-account data

I am experimenting with (main)UNIX users and groups configuration on my system (how many, which names they have, passwords, etc.) in Linux. Would it be possible to create a simple backup of the ...
1
vote
1answer
51 views

How to connect Thunderbird to a strong password manager?

The password manager integrated within the Mozilla Thunderbird e-mail program is apparently a little outdated, using 70s crypto (3DES) for storing passwords with a master password, even though there ...
0
votes
3answers
38 views

File access monitor

If a non-root malware is trying to crack the users' password, which password files or even memory part it has to access? How can I monitor and tell if the password files get accessed by the malware?
2
votes
1answer
44 views

PasswordAuthentication=no flag does not work on one strange host

On my source REDHAT Linux 7 host i fire this command to never prompt for password and passwordless login ssh -i /app/axmw/ssh_keys/id_rsa -o PasswordAuthentication=no root@<target-host> -vvv ...
1
vote
1answer
61 views

Why the /etc/nshadow file remains after changing root password?

I saw some abnormal thing after changing root password in linux. When I typed ls -al /etc/ | grep shadow after changing root password, the result is as below. -r-------- 1 root root 653 Mar 9 ...
0
votes
0answers
8 views

Is it possible to use Argon2id hashes with PAM?

I was wondering if it's possible to implement more secure KDF like bcrypt, scrypt, pbkdf2 and argon2id in PAM authentication. Ideally I would like to have their hashes directly in /etc/shadow, but we ...
0
votes
0answers
13 views

Authentication token manipulation error when not using a tty on recovery mode

I've recently upgraded my dekstop running Pop OS! on the latest LTS version. After the upgrade the system booted to the login screen, not directly to the desktop as it previously was set up to. When I ...
1
vote
0answers
21 views

How to require password if single-user mode is selected Solaris 11?

I want to demand root password when running single-user mode on Solaris 11. Unfortunately any of the guides seem to work in my case. The /etc/default/sulogin is commented as required, uncommenting and ...
0
votes
1answer
22 views

Password less login while running bash script without public key authentication

I need to run a some command through bash script on some storage devices which do not support public key based authentication. So is there any other way i can run script on these devices without ...
0
votes
0answers
33 views

Where is the “delay on a wrong password login” at the KDE login?

Please note this is a "mechanism, not policy" question. That means I do NOT want to discuss security policies, just the mechanism that implements them. I am using the latest Kubuntu 20.04 ...
0
votes
0answers
12 views

CentOS 6.10: ASP0011W passwd(NDS): Sorry, incorrect password

I'm using SuperPuTTY version 1.4.0.9 on Win10 to connect to remote Linux box via SSH. Today I got "Your password has expired" warning. On all the previous occasions I was able to change ...
0
votes
0answers
49 views

How to use seahorse to store and fetch bitwarden or lastpass master password?

I am using the bitwarden password manager add on for firefox. If I set "remember password" for the master password, bitwarden warns me that the password will be stored in plain text on my pc ...
0
votes
1answer
41 views

How to provide a password as a variable to zip protected file?

I wish to unzip it using a variable to pass the password - instead of being prompted. I tried to use the parameter -P but it seems to be not working for me: [ora@hp_01 ZIP]$ zip -qT -P oracle test_zip....
1
vote
2answers
71 views

Best practice to read password, containing special characters like $!@`', into Bash script

I am trying to read a password from stdin into a variable in a Bash script. This variable should then be expanded into an ssh-command and transmitted to the server. There, the password should arrive ...
0
votes
1answer
35 views

User Synchronizing

Is there any possible way to synchronize my main server's /etc/shadow, /etc/passwd, /etc/gshadow and /etc/group? I have 1000+ users and it's a hassle to loop userdel and loop useradd. I tried placing ...
1
vote
1answer
42 views

User with privilege to manage other users' password EXCEPT root's

I am trying to give user a privilege to change other users' passwords, BUT excluding root's password. I have edited the /etc/sudoers file with visudo and appended the following line: myuser ALL=/...
0
votes
1answer
41 views

PASS_MIN_LEN missing from login.defs

I've noticed that the PASS_MIN_LEN is missing from the password aging controls section inside /etc/login.defs (Ubuntu 20.04 LTS). At the end of the file there is a note that it's obsolete, alongside ...
0
votes
2answers
54 views

generate a password with minimum 2 numbers, 2 CAPS, 1 symbol, x lower alpha and max length of 16

I tried pwgen and makepasswd to generate a password... but these are not enough to generate with exact count of literals and numbers... pwgen -c -n -y -B 12 1 This is not working as expected as I ...
0
votes
0answers
33 views

running sudo without password

I'm running Manjaro Linux and I've got the following entries in my sudoers file: $ sudo grep -vE '^#|^$' /etc/sudoers root ALL=(ALL) ALL %wheel ALL=(ALL) NOPASSWD: ALL And my user is part of the '...
-5
votes
1answer
62 views

How to reveal a GUI password hidden bellow asterisks or bullets? [closed]

On MS Windows we can une Asterisk logger, Bullets password view, other tools, sandboy revelation, showpw or many other tools that can trace/change the GUI of an app... How can we achieve the same on ...
0
votes
1answer
77 views

Is there a way to disable history for one command in TCSH?

I am executing a command in TCSH, which requires me to pass a password on the command line. Obviously, I would like it not to be saved in the history file. I know that other shells like Bash supports ...
0
votes
1answer
57 views

Expect script hanging

I'm trying to use expect to automate my login process in ovpn but due to some mistake it is not going well. My script: #!/usr/bin/expect -f set timeout -1 spawn openvpn --config ./bin/openvpn-lib/...
0
votes
1answer
46 views

Resetting Debian Password without restarting at all? [duplicate]

My company has a Debian server that holds and runs some important stuff that cannot be shut down... The previous Joe before me, didn't seem to have a password logged or even passed on the information ...
0
votes
0answers
14 views

svn authentication on unsafe machine

i need to access some repository on an unsafe server. I dont want to store my password anywhere else than current session. What I came up with so far is combination of histcontrol ignorespace then ...
2
votes
0answers
63 views

How to send su password automatically?

How can I send the password automatically within the script below when I try to switch to su? Currently I'm able to login via ssh to hostname entering automatically the ssh password using sshpass but ...
0
votes
1answer
17 views

NAS password not saved in Gnome / CentOS 7

I am setting up a new system that is running CentOS 7 and Gnome 3.28.2. I've used CentOS from the command line before but this is my first time using Gnome. I have found that Gnome does not seem to ...
0
votes
0answers
34 views

Is it safe to print sensitive information to terminal output?

Specifically, I'm asking about the safety of Python's print function. I have a python script that generates passwords and before exiting, prints the password to the terminal's output using print(). I ...
0
votes
0answers
39 views

Ubuntu 20.04 root password

I runned sudo passwd -dl root sudo passwd -dl chris then when i try to execute something like sudo subl /etc/asound.conf, a password is necessary to go. But the default password fails. What can i do?
1
vote
1answer
128 views

In OpenMediaVault, how do I secure an SMB share with login and password?

I'm running a NAS server with https://www.openmediavault.org/ on a Raspberry PI. I've made a "shared folder", activated SMB sharing and within it created a share for this folder with "only guests" ...
-1
votes
1answer
23 views

Security considerations for encrypted home dir in case of an untrustworthy root

Heiho, although I have done some manual encrypting using various tools I consider myself a noob. Recently I worked on a tiny project utilizing PAM. Thereby it occurred to me that root can get hold of ...
-1
votes
1answer
98 views

Linux Needs a Password but Password doesn't work [closed]

First off I need to say I'm almost a noob at this - as in I didn't know what Linux was a few weeks ago, I've learnt a lot myself but I need some help if poss please. I'm using a Chromebook, Debian 10....
2
votes
0answers
44 views

Disable root password, and eliminate sudo, on system that will only ever be orchestrated remotely?

The system in question will only ever be managed remotely using Ansible and so I'm not concerned about limiting catastrophic commands from a group of users or allowing convenient administrative access....
-2
votes
1answer
28 views

How can I use passwords with bash special characters on the command line? [duplicate]

I have a command line that takes a password . The password starts with characters '!1'. E.g. '!1x9y377s' . If I execute a command with that password, then history expansion occurs and the first two ...

1
2 3 4 5
21