Questions regarding password-based authentication and password management

learn more… | top users | synonyms

1
vote
1answer
52 views

Sshfs on Beaglebone Black password with Ubuntu arm 3.14

I'm trying to transfer a file to my Beaglebone Black using sshfs. I've installed Ubuntu Arm 3.14. I can use sudo sshfs 192.168.0.102:/ /mnt/sshfs which pops up with root@192.168.0.102's password:, ...
0
votes
0answers
74 views

Linux Mint 17.2 dual password prompts

I have an odd issue with my system showing me two password prompts after waking up from suspend mode. I can click on either to enter my password and I only need to enter it into one form to login. I ...
2
votes
2answers
73 views

Using PAM, how is minimum number of days between password changes set?

On my Amazon Linux (RHEL-derived) system, within /etc/login.defs, I've set the minimum number of days between password changes to 1 day: PASS_MIN_DAYS 1. I thought I should be doing that with PAM ...
1
vote
1answer
36 views

Why does it take more time to identify an incorrect password than to identify a correct one? [duplicate]

It takes almost two seconds before my linux machine replies the password is incorrect while the correct one gets accepted almost instantaneously.
1
vote
0answers
127 views

Fedora 22, disk-encryption passphrase, POST fails, dracut

I was in the process to install Fedora 22-3 on an Acer desktop with Windows 8 to create a dual-boot system. I believe to have followed reasonable guidelines on how to do this. (I reached up to point ...
1
vote
1answer
285 views

Linux Mint Rafaela Password

I want to boot Linux Mint Rafaela from a live USB Stick. The MD5 checksum is correct. I am asked for a password. In the documentation I can find following: Typ as Login: "Mint" Password: -empty- I ...
1
vote
2answers
104 views

MySQLdump via crontab - Pass --password=/hashed/password/file so I can use via crontab w/o using plain text password

So I'm setting up a WordPress backup guide/making a backup schedule for myself for real. I want to do MySQL dumps daily, but the command either requires -p then user input or ...
2
votes
1answer
719 views

How to change default root password for Live Kali Linux - USB persistence

After making a USB Live with Persistence stick, I tried to change root default password (using passwd) to no avail. Every time I reboot it resets to the default one. All other changes I've made (e.g. ...
0
votes
1answer
28 views

Is it safe to run GPG tools in x11?

Given the relative (anyone with my present user permissions can swipe scancodes) ease of keylogging in an x11 environment, should I run GPG tools only in the TTY?
1
vote
0answers
35 views

Root password not working when trying to update

Running SLES12 on a VirtualBox VM I get the notification that there are software updates. Trying to invoke the update, a popup appears and forces input of administrator password. When I enter the ...
1
vote
1answer
137 views

What hash algorithms can I use in preseed's passwd/user-password-crypted entry?

When it comes to passwd/user-password-crypted statement in a preseed file, most examples use an MD5 hash. Example: # Normal user's password, either in clear text #d-i passwd/user-password password ...
0
votes
0answers
53 views

Linux Mint: two password forms after suspend mode

I have an odd issue that's not really a performance problem but a mild cosmetic one. When my laptop wakes up from sleep mode and prompts me for my login password I usually get two forms requesting my ...
1
vote
1answer
115 views

Bash script with (X)dialog asking for root password (kdesu substitute)

I'm using (X)dialog for a script that a normal runs, but it needs root privileges for some commands. The script runs from a .desktop file, thus the user sees no terminal. For example here #!/bin/bash ...
0
votes
1answer
18 views

Disarm Linux Minty 16 password

My nephew had an HP lap top running Minty 16. He died almost two years ago and I still cannot figure out his old password. I am 60 y/o and not familiar with computers. Can ya'll explain this to me? I ...
-1
votes
2answers
138 views

Passwordless login (physical console and “su - user”)

How to configure an user (in debian) to login without password ? An user without password shall login in text console and using su - user without being asked for password. (secure isn't a requirement ...
4
votes
1answer
64 views

Is it possible to add a password to moving or copying specific files on Linux?

I have a directory setup very nicely(i.e organized with READMEs and easy navigation etc.). I would like people to be able to access the files in this directory maybe even copy them to their own ...
0
votes
1answer
423 views

I can't change user's passwd on ubuntu

I want change 120 user's password. so I wrote sudo echo 'user:passwd' | chpasswd but I had a message, chpasswd: (user) pam_chauthtok() failed, error: Authentication token manipulation error chpaswd ...
0
votes
0answers
229 views

password aging policy, the passwd command and /etc/shadow

I came across this phrase in the link below http://brandonhutchinson.com/wiki/Solaris_Password_Policy /usr/bin/passwd is used to modify password aging on existing accounts. passwd does not ...
1
vote
1answer
117 views

How do I get John the Ripper running on a recent version of debian or ubuntu?

Although John the Ripper has been packaged for debian and ubuntu, it seems that as of August 2015 the packaged version doesn't actually work. Recent versions of these systems encrypt passwords using ...
0
votes
1answer
366 views

piping a password located in a file to the ssh command [duplicate]

So I need to login as a lot of different users to a server using ssh and I'm tired of copying the password from the files, which contain the passwords for the users, each time. I can't change it to ...
2
votes
1answer
66 views

What are the disadvantages of using config file (source) for passwords in bash scripts

I am writing a bash script that needs to authenticate a Linux box with active directory. I would like to make it so no user input is required. The problem is I have to put the password in the script, ...
1
vote
0answers
51 views

Password entry only responds to Ctrl + D, and password cannot be read

I am trying to run build-key-pkcs12 user on my OpenWRT NSLU2, to generate some client keys for the users of my VPN. Everything runs normally until I get to the enter export password part, and the SSH ...
2
votes
5answers
766 views

How to add a password to a BASH script

I want to create a script to run the following BASH command: mysqldump -u [username] -p [db_name] > [path to backup file] Which results in a backup file. When running this in BASH, it prompts ...
3
votes
1answer
102 views

Same salt/hash value in /etc/shadow

Looking in /etc/shadow, I can see several users that have the exact same salt and hash value (and thus password). How could the system end up like this? Does this mean the password was not ...
1
vote
2answers
33 views

User verification

Suppose I've writen a setuid root executable and I want it to verify that the user is not a script by asking the user to provide his/her password (granted, users might save their password and use that ...
4
votes
2answers
190 views

Trying to crack a weak password using John

I have a computer from the 1990s. It has an (extent) EFS file-system which cannot be wrote to in linux, so i cannot reset the password manually. So i have to crack my password. For this I am trying to ...
2
votes
0answers
30 views

Can I make cross-computer sharing compatible with tinfoil-hat security (password managers, email, etc.)

Preface: I realize the following is asking for tinfoil-hat type security, but I'm really curious for answers to my questions -- not suggestions to enable two-factor logons on gmail, etc. and call it a ...
10
votes
4answers
2k views

what does star in passwd file mean?

I have a computer that I need to boot into, but the passwords seem to be bogus. Additionally i cant mount the drive for writing, and it is a mips processor, so I cant stick it in another machine to ...
2
votes
2answers
141 views

How to know when my password will expire? [duplicate]

How can I get to know when my password will expire? I'm running IBM AIX.
1
vote
1answer
198 views

How to retrieve a password from KWallet; KWalletManager won't run

Trying to retrieve a password from KWallet, I found that I couldn't open KWalletManager. Neither the menu item System > KWalletManager, nor Alt+F2 and typing in kwalletmanager do anything. Does ...
0
votes
1answer
514 views

sftp to use password stored in a parameter file

Is it possible to to connect two servers through sftp with a batch of commands and where the authenticating password needs to be read from a file (where it is stored previously)? I am new in the UNIX ...
1
vote
1answer
52 views

Set root password AMI linux

I need to set a password for root on EC2 AMI Linux. I have tried with passwd root but if I log in with ec2-user and run sudo su, I get a root bash without asking for a password.
1
vote
2answers
223 views

Where & How is user group information stored in Ubuntu? [closed]

Two places possible: /etc/group and /etc/passwd. If I use command: adduser [username] [groupname], then the user would be added to the group, and the file /etc/group would then be updated. However, ...
1
vote
2answers
129 views

Dynamic change of Linux root password everyday

I want to change my root password everyday based on the date. The password will be like a combination of a string and the date. The below code is working fine. echo -e "pass"$(date ...
12
votes
2answers
872 views

How do I make sudo remember my password for longer?

How do I make sudo remember my password for longer so that I don't have to keep typing it? I do not want to sudo su and execute commands as root all the time. I am on Arch Linux and have tried to ...
1
vote
2answers
79 views

2 passwords for login

On Linux, I would like to to set up a user account in such a way that the user would have to enter 2 passwords to log in. Is this possible, and what would be the implications of this?
3
votes
1answer
48 views

security model of Linux password entry

Whenever a Windows application wants to do something requiring administrator privileges, my screen goes black and a prompt comes up, asking if I want to grant administrator privileges. I understand ...
0
votes
1answer
141 views

Wordlist/dictionary generation for penetration testing

How can I generate a dictionary of words containing 8-16 of alphabet characters ([a-zA-Z]) with low memory?
0
votes
0answers
30 views

not modified file increased size

weird thing happened. passwd file size increased although the timestamp hasn't... i've checked for rootkits and nothing found. Any reasons you can think of? Regards
1
vote
2answers
289 views

How do I scp a file from server A to server B from cron?

I have a file in server A which I am able to do transfer to server B using scp. I need to do this through a cron entry. server B has a password. How do I perform this?
-2
votes
1answer
94 views

SSH into a Remote Machine with a Password

I'm to trying to dd a remote disk using SSH with the following command: ssh userfoo@111.111.111 "dd if=/dev/xvda1 | gzip -1 -" | dd of=/home/user/image.gz I get the following error: ssh: ...
2
votes
6answers
3k views

Hiding Password in Shell Scripts

How can I hide a password in shell scripts? There are a number of scripts that are accessing database. If we open the script others also aware the username and password. So if anyone knows how to hide ...
0
votes
1answer
80 views

Change requirements for passwords on Oracle Solaris 11.2

Is it possible to change strict requirements for user passwords, including root, e.g. I'd like not include numbers in the password as required, since this is a home machine, and I'm the only user?
1
vote
1answer
33 views

Disabling su - <user1> alone

In my Team , we have a server which few people know the root password I can see they log into root and then use su - user1 to use from user1 login., I cannot change root password for some reasons , ...
0
votes
1answer
184 views

Manipulating a (non-root) password in Fedora 22

My Fedora 22 (workstation-gnome) home pc has two accounts: steve, which has no password, and root which does have a password. On this website, the fedora 22 - change from gnome to kde4 topic may ...
3
votes
2answers
95 views

How to generate a CSR for attaching SSL certificate to the site? [duplicate]

How can I generate a CSR for attaching SSL certificate to the site? In various articles about installing SSL certificates are described different ways of generating private key and CSR. That's like ...
2
votes
2answers
88 views

Add a user wthout password but with SSH and public key

I want to add a user to Red Hat Linux that will not use a password for logging in, but instead use a public key for ssh. This would be on the command line.
2
votes
0answers
73 views

Is there a password manager server application

Yet another hackers attack on the infrastructure of companies that offer to store our passwords begs the question: Is there a password manager server application? (Along with browser extensions) ...
3
votes
1answer
131 views

OS X FileVault 2 duress password

I've been attempting to add a custom script to run after the FileVault password is entered on login that will check whether it a 'special password' that will run a script in the background after ...
0
votes
2answers
82 views

Installing Kali Linux

This is my 4th attempt at installing Kali Linux mini on Dell Inspiron 1545 Laptop. When I get to dialog that says "Select components to install" there is no way to select additional components it ...