Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [password]

Questions regarding password-based authentication and password management

2
votes
0answers
15 views

How to have synchronized samba passwords with local linux accounts where linux account are the leading system/authority?

How to have synchronized samba passwords with local Linux accounts where Linux accounts are the leading system/authority? This seems to be a surprisingly complex request/requirement. Since I already ...
0
votes
1answer
20 views

Encrypting Wifi Password When Using Wicd

Inspired by this answer, I'm wondering if there is a (relatively) painless way to "hide" the wifi password(s) that is/are present in the /etc/wicd/wireless-settings.conf file. I travel a lot and ...
0
votes
1answer
21 views

Shell Script to fix minimum password age not working but no errors

The goal of this script is to change the minimum password age in the /etc/login.defs file. My issue is that this script runs, I don't get any errors but when I vi to the file, nothing has changed. I'...
1
vote
4answers
76 views

Check which users have specific password

I'm trying to remove all default user passwords across a bunch of servers with ansible. Firstly, I'd like to output the name of every user whose current password is foobar. How can I achieve this? My ...
1
vote
1answer
45 views

How to confirm linux root password from ssh root?

How can I check a remote machines root password? I have a remote machines that are normally accessed via ssh root and other users. For security purposes I have a script to change all keys and user ...
1
vote
0answers
27 views

ssh to one machine and than another wihout password

If I ssh a server from my work PC, I do not have to enter password, it uses keys for passwordless authentication. Yet If I use vpn and ssh to connect to my work PC (with a password) and then ssh to ...
0
votes
0answers
20 views

Restrict root shell access

Background : 1. I have two users admin and root. admin user is not in sudoers and only runs a menu of restricted commands. 2. root account access is restricted to shell based protocols like scp, ssh ...
0
votes
0answers
15 views

Login Failed at Manjaro KDE no user can login

No user can login. I did the same as this post No users can log in I tried a lot of things and no one logged. Any solutions?
1
vote
1answer
40 views

Investigation - user's password is lost in every reboot issue

I'm investigating this issue: pi's password is lost in every reboot. Issue summary: Change pi's password by passwd command -> reboot -> the changed password always will be changed to another which we ...
1
vote
2answers
139 views

Does using non-root user without password makes system more vulnerable?

Let's say somebody sitting under user (non-admin, not root), but he didn't set up any password for it, only superuser/root has password. Is it bad practice (in context of remote access to a desktop ...
1
vote
1answer
23 views

read -s gives error via script

I am trying to read a password from user, i used -s silent flag but read -s is not working from the script but it works if i do it manually from terminal. error details project.sh: 3: read: Illegal ...
0
votes
0answers
17 views

Mount cifs Network Drive: dynamic permissions?

I have a mount from Linux to a windows network drive that works great. Except for one thing: every 90 days my password changes and I have to go in and recreate the mount like so: sudo mount -t cifs \ ...
0
votes
1answer
22 views

Manually enter password into expect and use as variable while scrip is running

I have an expect script that uses interact every time a password is needed. The program that expect is automating asks for the password multiple times. Is there a way to only have to type the ...
0
votes
0answers
14 views

Forced Password Expiry question

If I force a password expiry for an account that have aging setting set previously, Am I forcing it also to count inactive days earlier than what was set previously or aging settings (like warning and ...
1
vote
1answer
30 views

Synchronise passwords across devices with pass

I am looking for a simple, open-source password manager for linux with a CLI. It has to have a way of retrieving a password via the command line, so I can use it in several scripts (that sync my email ...
0
votes
0answers
19 views

How to setup password history using authconfig?

I've been setting up a password policy and have used authconfig like so: authconfig --passminlen=15 --update However I can't see a way to set password history without manually changing the conf ...
-1
votes
2answers
162 views

What is the root password for raspbian jessie or debian 9

What is the default root password for raspbian jessie or debian 9? I have Raspbian Jessie stretch iso "Raspberry Pi Desktop" or pixel Virtualbox and I need to install keys with root "su", what is the ...
0
votes
1answer
86 views

How to avoid password prompt when starting Synaptic?

Whenever I start the Synaptic package manager, it asks for a password. How do I make it skip that dialog? I'm using Debian 9.8.
-1
votes
1answer
36 views

Trisquel:What to type when I set a blank password? [duplicate]

I recently installed trisquel on my computer. When I decided to use the terminal and sudo I was prompted to use a password despite the fact that I set a blank one. I want to know what I am supposed ...
0
votes
1answer
24 views

How to sync gopass password store to an android device?

I have setup gopass to be my password manager on my arch linux desktop. I would like to sync the password store to my Android mobile device. Is the only way to create a remote git repo on GitLab/...
2
votes
1answer
42 views

Switch to root user always failed after modifying /etc/pam.d/common-password

I'm using ubuntu 18.04. To strengthen my pass-word policy I modify my /etc/pam.d/common-password like this: # here are the per-package modules (the "Primary" block) #password requisite ...
0
votes
0answers
67 views

Terminal - Password suddenly “visible” in asterisks [duplicate]

I did not change anything, and suddenly, when typing my password into the terminal during "sudo" commands, my password length is shown in asterisks as i type. Is this a feature of a new mint cinnamon ...
0
votes
0answers
18 views

Unable to login passwordless after the changing the users password

for example, A user was locked on server C, i've reset it password. and after that it was unable to ssh passwordless from server B to C, which was working before. i've checked the authorixed_keys and ...
-1
votes
1answer
69 views

Administrative password not accepted

I just finished installing Debian 9.8 Cinnamon and set up a root pwd and my user pwd. Now I want to install veracrypt and it asks me for my administrative password, but the root password doesn't work. ...
0
votes
0answers
90 views

Passwordless SCP from automated script - NO ADMIN RIGHTS server side

I have a cloudways server with no admin rights. I have set up ssh keys using their website interface, to use ssh and scp without passwords from a raspberry pi 3b+ running stretch, however i am having ...
1
vote
1answer
61 views

pam_cracklib setting min password length

I am experimenting with PAM and, in particular, pam_cracklib at the moment. I've run into a bit of a problem setting min password length and credit for particular character types. My config file for ...
-3
votes
1answer
35 views

Scientific Linux 7x - Too much system hardening!

Some Linux users like my company build Linux servers to use on factory production lines. We write software to load BIOS and FLASH memory and test our products. We constantly need to reboot these ...
-1
votes
1answer
79 views

Protecting an email-proxy (Gmail) account being used by a Mail Transfer Agent (MTA)

On Debian LAMP with different PHP based CMSs I use the MTA sSMTP to send email via an email proxy (Gmail); the emails I send are only contact-form inputs transferred from any such CMS to my own email ...
1
vote
0answers
65 views

DPAPI / MacOS-style Keyring for Linux or BSD?

Windows and Mac both have a handy way to secure data using the users' login credentials. The Data Protection API on Windows uses a symmetric key which is never stored in plain-text, and is encrypted ...
0
votes
0answers
148 views

Piping password multiple times to a command via the command line

I am running Ubuntu 18.04 with bash and I would like to pass a password to a command that runs with sudo, but once its run, i.e the password is piped into the command (a python3 command to run an app),...
0
votes
1answer
362 views

how to generate bcrypt 2a variation hash instead of 2y?

On my linux machine, I'm able to generate bcrypt hash from command line using htpassword htpasswd -bnBC 10 "" password | tr -d ':\n' however it generates "$2y$" but I need "$2a$" (bcrypt 2a). How ...
-3
votes
1answer
472 views

Kali-linux default password for live session [duplicate]

I tried to install kali through Unetbootin but it failed. After that, I tried to go on live one, but without setting any password. It asked for that as default. I entered root as username but don't ...
0
votes
3answers
33 views

How to set the passphrase that different keys are discriminable

Can I change my phassword/-phrase('s settings) in a way that it's important which key of multpile ones (e. g. the left shift key instead of the right one) is chosen? Could I go a step further and ask ...
2
votes
1answer
190 views

Encrypting a password using gpg without constantly asking for password

I have a service that checks my email regularly, and I use gpg to encrypt my email password. The problem is that every time I lock my computer or after a certain amount of time gpg shows a graphical ...
0
votes
4answers
91 views

Automate multiple password enties to decrypted LUKS + Ext4 USB stick

I have a USB stick encrypted with LUKS + Ext4. I have forgotten the password... However, I know which words will be included in the password and have a list of all permutations of those words. ...
0
votes
0answers
19 views

Switch user providing own password

While switching to a privileged user, we enter the privileged user's password. Can I use my own password instead? Current flow: user1 -- > serviceAcctUser (serviceAcctUser password) Required: user1 -...
0
votes
1answer
454 views

change root password in CentOS 7 [duplicate]

I was reading about changing root password in CentOS 7. it's totally different from centOS 6. change root password I was wondering about the steps for example why should I change ro? what ...
2
votes
2answers
366 views

“ecryptfs-mount-private” returns “fopen: No such file or directory”

Recently, we've rebooted server and got ecryptfs mount fail: ... Signature not found in user keyring Perhaps try the interactive 'ecryptfs-mount-private' user@host:~$ Could that be because ...
1
vote
2answers
49 views

Use Key Based Login on Desktop Linux

I'm using Pop!_OS (essentially ubuntu + tweaks with a gnome environment) and I've recently acquired a Mooltipass hardware password manager. This tool has the capability to manage SSH keys. I was ...
1
vote
0answers
44 views

pam_unix Module Not Allowing Random String Passwords in Ubuntu 18.10

I just installed Ubuntuy 18.10 on one of my computers, and am trying to understand why a series of passwords are not working, even though they are completely random character strings. I started by ...
0
votes
1answer
215 views

Can attaching to tmux sessions be password protected, similar to gnu screen?

I've been using gnu screen for many years, and I've been looking into switching to tmux. I can't figure out how to make tmux require a password when attaching to a session. In gnu screen, I use ...
3
votes
0answers
111 views

How to prevent 'chpasswd' linux command by time or days with pam?

I have Ubuntu 18 OS and I am trying to prevent all users from running 'chpasswd' command after 17:00 o'clock. I need to use pam for this. My /etc/pam.d/chpasswd file: # The PAM configuration file ...
1
vote
1answer
101 views

File/files that is/are responsible for password aging in solaris

What file/files is/are responsible for password aging in solaris server? Whenever a user is added, the default password aging limit is 90 days right? So is there a config file responsible for this?
0
votes
1answer
34 views

Secondary password file creation and reset

Is there any way to reset all passwords previously created when the secondary password file is enabled for the first time to ensure higher-level protection ?.
2
votes
2answers
58 views

Is it possible for a process currently installed on a system to escalate its privileges by knowing root's password?

Let's suppose a scenario of a Unix-like system (like macOs, linux, solaris etc.) having installed a program from the internet that's been developed by a malicious actor. The program does not use any ...
0
votes
1answer
80 views

How to set password constraints in Gnu/Linux [closed]

It contains at least one lowercase letter. It contains at least one digit, which can be in any position except the first and last position. It contains at least one special character (non-...
0
votes
1answer
57 views

Can I put a single quote in a user's password

I was wondering if there would be any issue with placing a single quote in a ubuntu user's password. We have a couple machines with a dummy user for automation purposes and I would like the password ...
1
vote
0answers
250 views

PTY allocation request failed on channel 0

My remote vm server's password has expired, i cann't change password. [user@localhost ~]$ ssh root@x.x.x.x root@x.x.x.x's password: PTY allocation request failed on channel 0 WARNING: Your password ...
7
votes
2answers
998 views

Required Bash Code for Hide Password during Typing [duplicate]

How can I write Bash Code for Hiding Password Or convert into '*' user input will be in string so no spaces, and change or hide password String.
0
votes
1answer
55 views

How to go back to entering the ssh key password in the terminal

When I upgraded Ubuntu 16.04 to 18.04, one of the changes was that the password prompt to unlock my ssh key (from the agent) now is in a little GUI popup instead of at the terminal prompt. This is ...