Questions regarding password-based authentication and password management

learn more… | top users | synonyms

0
votes
0answers
5 views

In Ubuntu Chromium does not load any saved passwords in Normal Mode but working fine in Incognito Mode

I have a weird problem. I recently did a software update for Chromium and now it does not load any off my saved passwords (I literally had hundred for all my clients.) When I go to manage saved ...
3
votes
1answer
31 views

groupadd -p Not Recommended?

I have a question about groupadd, specifically with password (-p). It says it is not recommended, "This option is not recommended because the password (or encrypted password) will be visible by users ...
0
votes
0answers
4 views

ssh/git does not use GUI to ask for password after upgrade to to Ubuntu 16.04

I used to run Ubuntu 14.04 on my computer. Whenever I used ssh keys to log in to various servers, I used to get a GUI pop-up dialog asking me for the password for my key. After entering the password ...
-1
votes
2answers
70 views

Creating a user without a password on NetBSD

On my NetBSD installation, I have it set so that root has no password. I can login as root without typing a password. But, when I create a user with just useradd -m <username>, log out, then ...
0
votes
0answers
18 views

Where are WiFi passwords stored in Linux Mint? [duplicate]

Where are WiFi passwords stored in Linux Mint? I have tried this looked into /etc/NetworkManager/nm-system-settings.conf, but could not find it.
0
votes
1answer
30 views

How to delete password for current account

I just installed Ubuntu 15.10 on my new desktop. However, I want to erase the password of it. I followed the instructions here. I now can successfully login with out password, but I cannot use sudo ...
2
votes
1answer
23 views

Can I make it so that all new users created in the future will have an expired password by default? [duplicate]

I want to make it so that every time anyone creates a new user on my system that user will be forced to set a password during their first login. I can't find anything in /etc/login.defs that will do ...
3
votes
3answers
48 views

Sudo-like remembrance of passwords for own scripts

I have a script which requires a password for authenticating a web service. A single password for a pre-defined user will suffice, and the password should if possible be stored securely (not plain ...
2
votes
2answers
48 views

Hiding passwords in wpa_supplicant.conf with WPA-EAP and MSCHAP-v2

My wpa_supplicant.conf looks like this: network={ ssid="Some name" scan_ssid=1 key_mgmt=WPA-EAP eap=PEAP identity="my-user-id" password="(clear text password here)" ...
0
votes
1answer
15 views

KSH password generator

How to make sure the generated passwords contains all these special characters: ?!/=\? Currently I'm using: pwd_usr["$i"]=`cat /dev/urandom|tr -dc "a-zA-Z0-9-_\?\!\=\/\"|fold -w 15|head -n 1` But ...
3
votes
2answers
40 views

Feedback when entering passwords, without revealing length

I often SSH into a machine and use sudo on it. When entering passwords, I'm always afraid that another window will steal the focus. However, I don't want to display asterisks (with pwfeedback, for ...
67
votes
2answers
8k views

I accidentally typed my password into the login field, is it still secure?

I was looking down at my keyboard and typed my password in because I thought I had already typed my login name. I pressed Enter, then when it asked for the password I pressed Ctrl+c. Should I take ...
0
votes
1answer
36 views

How can I avoid being prompted for a password in this script? [duplicate]

I’m using Amazon Linux. If I login as my “otheruser” user, and create a script, test.sh, with this text sleep 5 ; sudo reboot now I can login and run the script like so … [davea@mydevbox ~]$ sudo ...
0
votes
1answer
42 views

rsync over ssh without typing the password each time [duplicate]

I got a bash script to synchronize data between two computers. It works fine but I have to type my password every time the rsync command is called. #!/bin/bash sourceIP="192.168.178.128" ...
0
votes
1answer
24 views

What's the difference between lpasswd and passwd commands?

Studying the CentOS/RHEL sysadmin manual, I can't understand if there are or what are the differences between these commands.
0
votes
0answers
46 views

Centos 7 root passwd reset

I was stupid enough to log my root password on one spot and that crashed so I lost my root password to my server. I followed the guild of ...
0
votes
1answer
22 views

Proper way of creating new accounts in passwordless systems [closed]

What is the proper way of delivering credentials in passwordless ssh systems (linux)? By passwordless I mean login using only SSH keys. Should I generate pair of ssh keys and deliver it to new user, ...
1
vote
1answer
31 views

How to encrypt/hide password in /etc/network/interfaces file on debian?

How can I encrypt/hide my - wpa-psk "password" - line in the /etc/network/interfaces file? Since it's uncovered and readable for everyone who can get in the file now. Or is it better that I use ...
0
votes
1answer
27 views

Moderate users homedirs - removing cleartext passwords [closed]

On one of Linux terminals I administrate, we allow users to write own scripts in bash/perl/python to enhance their administrative tasks. The problem with users is they don't always follow the rules. ...
1
vote
2answers
44 views

Last Password Change of A User [closed]

I'm am currently trying to figure out a command that will show the last password change of a user on a UNIX system. I have tried running the command passwd -Sa and it gives the password change date ...
0
votes
1answer
35 views

Bash script to change password in chroot

I have build a Linux From Scratch live CD and wrote an installer script for it. There is a step in that script in which I take an username and password from the user and create an user. The installed ...
1
vote
0answers
25 views

Dictionary attack GPG symmetric encrypted LUKS keyfile

I remember typing in a long phrase for the password. I wrote all the words I could have possibly used into a plain text file, combining the words I know were used in a certain order. I might have ...
1
vote
1answer
30 views

Mechanism behind password storage in sudo

Whats the mechanism behind sudo that stores the password for all subsequent calls to sudo?
5
votes
2answers
256 views

How is the su command masking/protecting my password from being displayed on screen? [duplicate]

Apologies if this is an abstract question - I'll try to be as specific as possible. When I'm at the bash shell and switch to a different account via su - foo, I'm prompted for a password. The ...
1
vote
1answer
21 views

Set user-specific password hashing rounds in PAM

In /etc/pam.d/common-password we have a line such as: password [success=1 default=ignore] pam_unix.so sha512 rounds=200000 Meaning, whenever anyone sets their password, hash it with 200,000 rounds ...
1
vote
1answer
29 views

Block regular users from changing their passwords: only root should be able to [closed]

For security reasons, I want to make it so that only root can change user's passwords This can be achieved if I set /usr/bin/passwd to 700. Now, if password aging is enabled or first login is enabled, ...
1
vote
1answer
68 views

Puppet: Forcing user to change his password at next login

I am using `users' resource to create unix accounts and then set a default password. For this I have written the following manifest . node 'node2.example.com','node3.example.com'{ user { 'askar': ...
3
votes
1answer
88 views

Is it possible to convert linux salted sha512 password hash to LDAP format?

We have an LDAP server which stores passwords and other user data. The server is not used for authentication of client machines though but only for authentication of client apps. So users change their ...
30
votes
3answers
4k views

Why is the password I entered not visible?

Below is an image of the process I took to create a user on bash in Linux. I understand that the password shouldn't be displayed for security purposes, but what I mean is, why do asterisks (or the ...
0
votes
0answers
12 views

is there a tool that edits /etc/login.defs for you?

I am attempting to set password expirations for all new accounts and am curious if any tool already exists that will edit /etc/login.defs for you -- or is manually editing the only way?
2
votes
2answers
118 views

Avoiding plain-text password in http_proxy

I am behind a corporate firewall, which brings lots of pains in the area of proxies. There are two main approaches I've found to work: Use Cntlm at the cost of not being able to connect (from the ...
0
votes
0answers
20 views

Password help chronos

I am trying to put Minecraft on my son's Asus C300 Chromebook. I have followed the steps to get into developer mode. I get to chronos@locahost and then I get a message that says "We trust you have ...
0
votes
1answer
54 views

Chronos@localhost password fail

I am trying to put Minecraft on my son's Asus C300 Chromebook. I have followed the steps to get into developer mode. I get to chronos@locahost and then I get a message that says We trust you have ...
1
vote
0answers
44 views

Linux password expiring and cron jobs failing

I have jobs running on a server which I access via powerbroker (so don't know the password). However the password of the user account expired recently and the said jobs failed. Due to password ...
1
vote
1answer
77 views

How to login to an ssh server and capture prompts programmatically?

I'm attempting to write a script that will login to a remote server via ssh, without popping up a password prompt to the user (the remote server is not under my control, and they won't allow me to use ...
0
votes
2answers
36 views

Linux system root login forgotten password recovery instead of new password from hash

I have a multiple Linux hosts(virtualization) to which I can login as root on only one of the host with ssh root@host with ssh key setup(id_rsa.pub and authorized keys). I don't have this setup on ...
2
votes
2answers
96 views

Why does root need to enter a password when executing specific commands?

On a certain RHEL5 machine, when root is executing commands such as passwd someuser or any other privileged command, the root password is requested for verification and the command can't be executed ...
4
votes
1answer
208 views

How to recover encrypted /home/ folder in Linux Mint 17.2

The issue: I changed my password earlier today, but I must've made a typo, because I couldn't log in afterwards. I booted into the Grub menu and started a passwordless root shell to reset my password. ...
0
votes
0answers
34 views

Password problem when trying to access a LINUX VM

I'm a MAC OS X (El Capitan) user who's currently trying to access a LINUX VM set up by IBM for class. I have downloaded and paired a .ppk file in order to access it (a real pain due to my OS), but for ...
0
votes
0answers
44 views

Is there a (256) character limit on linux/ubuntu user passwords when using sudo?

[I'm no expert in Linux.] When creating a user that I would rarely use the password on, I used an extremely long password (500 characters). Everything seemed fine, until I used sudo for the user and ...
1
vote
1answer
31 views

Linux password setting change

I need to know how to change the current password setting to become more complex. My current password setting are very weak the minimum password character number is 1 which it should be at least 8 .
0
votes
0answers
10 views

Can I make entering my private key's password work like sudo does? [duplicate]

Is there a way to skip typing my SSH private key's password if I have used it recently, similar to when sudo caches your credentials for a limited time? I know that I can use ssh-add with the -t ...
1
vote
2answers
56 views

Changing root's passwords using setuid

Is is possible to change root's password using setuid? What I tried is writing a simple program which calls system("passwd root") owned by root and its setuid bit is set but it didn't work. The ...
-1
votes
2answers
56 views

How can I Log ssh login passwords attempts?

I need to log ssh passwords attempts. I read somewhere you could get this done by patching openssh but I don't know if that is the correct way to get this done. I am using Arch. EDIT: I want to get ...
0
votes
2answers
36 views

How to change the password if the shadow file has “!!”?

[root@notebook ~]# grep USER /etc/shadow USER:!!:16577:1:90:7::: [root@notebook ~]# [root@notebook ~]# su - USER [USER@notebook ~]$ id uid=1000(USER) gid=983(GROUPN) groups=983(GROUPN),10(wheel) ...
0
votes
1answer
42 views

A password is not necessary to enter my /home directory but after logging out password is necessary

I am facing a strange problem. I have an opensuse 42.1 leap Linux. I deleted my /home folder accidentally from my other linux which is Debian. For some reason I had to transfer everything from my ...
0
votes
2answers
73 views

Bash Script execute command as user

I'm just wondering if it's possible to execute a command inside a bash script as a specified user and supply the password in one string. At the moment I have COMMAND="${DIRECTORY}/script.sh" su -c ...
0
votes
2answers
53 views

How can I log password entered to 'sftp' command?

How can I log the password entered to 'sftp' command? The command is shown in .bash_history, but obviously the password is not included as it comes as the next prompt. How can I also log what is ...
1
vote
1answer
26 views

Plain text passwords and application authentication compared to Windows

I'm a Windows user trying to wrap my head around Linux, and lately that means following behind people on Raspberry Pi projects. I've noticed that there are applications that require me to enter the ...
1
vote
1answer
61 views

What is a password dialog in plymouth?

I was currently learning to create plymouth themes/scripts from this link while following the guide i came across the Plymouth.SetDisplayPasswordFunction area, and after quite an amount of searching ...