Questions regarding password-based authentication and password management

learn more… | top users | synonyms (1)

1
vote
0answers
16 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
0answers
8 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
11 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
0answers
32 views

Bash script (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
17 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
1answer
34 views

Passwordless login (text 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 requirement ...
4
votes
1answer
49 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
56 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
41 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
31 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
40 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
44 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
29 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
557 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
35 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
29 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
67 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
25 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
52 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
63 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
100 views

sftp to use password stored in a parameter file

Is it possible to to connect two server 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 UNIX world , ...
0
votes
1answer
25 views

Set root password AMI linux

I need set a password for root on EC2 AMI linux. I have tried with passwd root but if I enter with ec2-user and run sudo su, I get a root bash without asking for a password.
1
vote
2answers
47 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, ...
0
votes
2answers
94 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 ...
11
votes
2answers
735 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
67 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
39 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
70 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
29 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
98 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
63 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: ...
1
vote
6answers
457 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
29 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
27 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
65 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
54 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
63 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
45 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
102 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
47 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 ...
5
votes
3answers
516 views

Does the shadow file have encrypted passwords?

man 5 shadow says this about the 2nd field: encrypted password Is that true nowadays? I think it should say "hashed password". Am I correct?
0
votes
1answer
44 views

How to change password of an ssh identity file

Can I, and in that case how can I, change the password of an SSH identity file without having to generate a new key and setting up it all over again?
0
votes
1answer
23 views

How to see the password in rhel6 [duplicate]

How to see the password what we are entering in RHEL6. If not how to see at least the entering password in some special characters.
1
vote
1answer
40 views

Why root is not constrained by pam

I have the following settings in file /etc/pam.d/common-password. password requisite pam_cracklib.so retry=3 lcredit=-1 ucredit=-1 dcredit=-1 password [success=1 ...
1
vote
1answer
34 views

How to format password using SCP

I'm currently writing a Script to upload files to my server via SCP. I have the following line: sshpass -p password!% scp -P 1234 ./test.text user@mydyndns:~/test.txt But everytime I try that I ...
0
votes
0answers
91 views

How to Sync UNIX Passwords SAMBA4.x?

My current server is running Debian 8 jessie with Samba 4. Its purpose will be to host a simple file sharing server for around 100 people on Windows machines. I already have a collection of UNIX users ...
2
votes
1answer
79 views

What does **___________ mean in /etc/shadow?

When I look at /etc/shadow I see several entries that look like this: username:**___________::::::: What does the "**___________" mean? That is where I should see the password hash.
1
vote
2answers
62 views

What could be causing a delay between running passwd and being able to login with that password?

I have a RHEL 6.6 Server that I am seeing odd behavior with. When I change a password using the passwd command, the /etc/passwd file gets updated without issue (confirmed with timestamp check). ...
0
votes
1answer
143 views

CentOS 7 - while installing i set disk encrypted with password, but on reboot always it asking password

While installing CentOS 7, i put password for disk encrypt. Now while working remotely on that machine and doing reboot it always ask password to be inserted on-site. Is this normal? or there is a ...