Questions regarding password-based authentication and password management

learn more… | top users | synonyms

0
votes
1answer
49 views

SSH still asking for password even after I have tried everything (that I know of)

ssh is still asking for a password, even though I did everything by the book. I have included all output, right from the start. Any ideas? Thanks! Gary 1) Generating public/private rsa key pair and ...
2
votes
2answers
78 views

My computer is booting to a full purple screen and asking for a username and password

Yesterday I reboot my computer to find out something went wrong the computer does not boot after about 10-15 sec after I press the power button it goes to a full purple screen I can't do anything to ...
3
votes
2answers
53 views

How can I export my passwords to other machines?

I just installed pass on my primary machine and I really like using it. I work on three or four machines and I'd like to synchronize all the passwords I have under ~/.password-store to all my ...
1
vote
0answers
30 views

Slow hashcat after resume

Input.Mode: Dict (wordlist.txt) Index.....: 4/1265 (segment), 2994585 (words), 33550344 (bytes) Recovered.: 0/1 hashes, 0/1 salts Speed/sec.: 601 plains, 601 words Progress..: 1854564/2994585 (61.93%) ...
1
vote
1answer
87 views

How to add users to Linux through a shell script

The shell script that I have to write has to create new users and automatically assign them to groups. This is my code so far: echo -n "Enter the username: " read text useradd $text I was able to ...
0
votes
1answer
35 views

PAM filtering via IP for SSH

I know this is probably a bit of a nube question, but I need some input. So if I use last I can see my IP, and it's also in my auth log whether failed or accepted, eg. Dec 9 19:30:16 wilhelm ...
1
vote
2answers
102 views

Pass, how to cache passphrase

I'm started to use unix password manager Pass Some passwords are not critical to me and I'm using them very often So it's became very annoying to me to type passphrase to get some password. Is ...
6
votes
1answer
737 views

SSH keeps skipping my pubkey and asking for a password

Everytime I ssh onto my remote server I need to provide the password. I copied my public key (id_dsa.pub) to the remote server using: ssh-copy-id -i id_dsa.pub user@server I checked it was ...
3
votes
1answer
38 views

Unlock the encrypted Volumes after restarting the server via SSH

I used the sudo shutdown -r to restart my Mac server via SSH. However, after restarting the server, I discovered that two volumes are offline due to encryption. What I am trying to do is input the ...
2
votes
3answers
88 views

What does it mean a ! before the username field in /etc/passwd?

After doing some googling I could not find why in the /etc/passwd shows a ! at the beginning of the line. It looks like this: !user:x:0:0:user:/home/user:/bin/bash any ideas? my only guess is ...
0
votes
1answer
32 views

Password protected script on editing, no password on executing

Is there any way to set a password on a script (or any file for that matters), without having to enter a specific command line to decrypt it each time I want to edit it? Setting this password to a ...
3
votes
3answers
105 views

How to set a password that violates password constraints without changing constraints using sudo

I have root access on a machine shared by others. I think the password constraints are absurd, they are overly excessive in how they mandate the use and ordering of non word characters and make ...
1
vote
1answer
90 views

How to change password using script

#OUTFILE=out.xml prefix='EDSAD150' password="asdf1234" pass=$(perl -e 'print crypt($ARGV[0], "asdf1234")' $password) for i in {01..02};do usname=$prefix""$i yes $pass | yppasswd $usname ...
6
votes
5answers
2k views

Passing root password safely in a shell script

I always boot up my GNU/Linux laptop in console mode. But sometimes I need to bring up the GUI mode. it always requires entering the root password. So I wrote the following script "gogui.sh" and put ...
4
votes
1answer
152 views

How to achieve conditional PAM authentication?

I am currently using auth required pam_unix.so try_first_pass nullok auth optional pam_ssh.so use_first_pass (plus some other, probably irrelevant entries Arch Linux added by default), which means ...
2
votes
0answers
42 views

How to remember / autofill forms with uzbl

I'm using uzbl to listen radio online, including this French web radio. There's a simple email/password form I would like to be filled automatically (down-right corner link "Se connecter"). Less ...
4
votes
2answers
46 views

Understand the PasswordAuthentication in sshd configuration

I have an OpenSSH server which supports only password authentication: [martin@ ~]$ ssh -v 10.10.1.183 -l root OpenSSH_5.2p1 FreeBSD-20090522, OpenSSL 0.9.8k 25 Mar 2009 debug1: Reading configuration ...
3
votes
2answers
228 views

Physically override linux credentials

Say someone gains physical access to my computer, and they want to login to my account and see everything I have. Is it possible that they take the hard-drive out of my computer, modify the file ...
0
votes
1answer
27 views

Security of password in a cron job on a VPS

I have a site hosted on a VPS and need to run a MySQL dump nightly. If I create the cron command: mysqldump -u user -ppassword database | gzip > /path/to/zip/file are there any security issues? ...
1
vote
0answers
54 views

Pass passwordlist to 7zip

I'm writing a shellscript to automate my 7zip, rar etc extraction tasks. Normally JDownloader2 does this for me when I download files through it, but when I download files by hand I will still need to ...
0
votes
0answers
179 views

Non-root user cannot change Samba password

Samba users cannot change their own passwords. The password can only be changed using root account using the command smbpasswd -a <username> But I want users be able to change their passwords ...
0
votes
0answers
132 views

ubuntu 15.04 problem with typing password to decrypt the disk

I have a stupid problem after installation of ubuntu15.04 on lenovo e450. I install ubuntu with full-encryption disk option, but I have a problem. I cannot type password to this password box, but when ...
1
vote
1answer
47 views

Is it possible to find back my forgetten password if I can login via key?

I am using a ssh key to login a remote server but today I want to login with username and key pair. I can still get on server with my key but I can't remember the password. Is it possible to get it ...
0
votes
1answer
94 views

Specify anonymous ftp password in ftp command

I would like a simple (ideally one-liner, without separate script file) command to connect to an ftp server via anonymous login using my email address as the password. My attempt is based on the ...
2
votes
4answers
178 views

Authentication failure on Amazon Linux

There is an authentication failure when I'm trying to enter password for any of my accounts. I am logged in using ssh to my AWS EC2 instance. After a while I checked the privileges to files that ...
0
votes
0answers
75 views

Brute Force 256 AES .dmg

I have most of the password for a dmg file and crunched a word list for all the combos. How do I get the hash for it to feed into John The Ripper? I am using OS X Yosemite. When I have tried before, ...
0
votes
1answer
54 views

Reset admin password in Cent OS 7 from grub [duplicate]

I just recently installed cent os 7 and I forgot the admin user password so now I couldnt log in and locked out. I entered the grub boot menu and tried to change the password using password command ...
0
votes
1answer
117 views

Prompt user to enter for his/her user password to execute non sudo terminal command [closed]

As the question asks I want to learn how to prompt users' password for nonsudo commands EDIT: I think that I could not tell it clearly according to comments, so I will elaborate my request with ...
0
votes
0answers
225 views

Centos 7, protect single user mode [systemd vs init]

Since Cento7 & RHEL 7 started using systemd inplace of init inittab there are no use /etc/inittab & /etc/sysconfig/init to password protect single user mode Question is now where we can find ...
0
votes
1answer
39 views

Ubuntu & Plesk - How to exclude a sub-url from password protection?

I have website which is password protected where runs a php app on it. Now I have to unprotect a sub-url of that website but without disablng the protection of the main site which is configured ...
8
votes
2answers
319 views

What is most secure and simplest way to have a user-typed password on bash become part of stdin to a program?

I'm looking for the (1) most secure and (2) simplest way to have a user type a password on a bash shell prompt and to have that password become part of stdin to a program. This is what the stdin ...
0
votes
1answer
101 views

How to view all users and change the password

What I have done is set up a virtual machine using AQEMU/KVM of Kali Linux, the problem is that I don't remember either of my log in details user name / password. So, is there a way to view those ...
4
votes
1answer
80 views

Prevent users changing password in FreeBSD

How can I prevent a user to change its password in FreeBSD. In Linux i can do this by using chage -m 99999 <username> where chage is found in shadow-utils Reason for this is I created one shell ...
24
votes
8answers
6k views

How to generate a random string?

I would like to generate a random string (e.g. passwords, user names, etc.). It should be possible to specify the needed length (e.g. 13 chars). What tools can I use? (For security and privacy ...
1
vote
1answer
78 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
80 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
96 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
40 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
140 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
354 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
3answers
189 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 ...
1
vote
1answer
1k 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
29 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
51 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
290 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
66 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
131 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
19 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
183 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
66 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 ...