Questions tagged [password]

Questions regarding password-based authentication and password management

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

scan for values in system-auth-ac

I'm working on automating checking password values on my systems. Wondering the easiest way to grab the values on dcredit ucredit etc. from the system-auth-ac file using grep or something similar?
0
votes
0answers
25 views

What is the difference between these two password attributes? [duplicate]

What is the difference between !* and !!, does it mean that these accounts have yet to be set up yet and you cannot login? nobody:!*:16925:0:99999:7::: systemd-network:!!:17663::::::
-1
votes
0answers
26 views

How to get win32com.client in Linux Environment and run the following code in Linux environment

import win32com.client def unprotect_xlsx(filename): xcl = win32com.client.Dispatch('Excel.Application') pw_str = 'xxxxx' wb = xcl.workbooks.open(filename, False, False, None, pw_str) ...
0
votes
1answer
34 views

Being 100% sure whether or not there are any encrypted files on the system just by accessing grub during boot

Is there a way to know whether there are ANY encrypted files or directories on an Ubuntu 14 machine running in VirtualBox? The password for the account is lost, therefore I would reset it by booting ...
0
votes
1answer
16 views

search and replace of users hash from old server to the new one

quite often I have to set the same password on new servers as it is on the old one, I can do it manually simple paste hash from the shadow, but I'd like to learn to do it automatically. old machine A ...
0
votes
1answer
30 views

Add new user without password but not disabled

I need to add new users who are only supposed to be usable through SSH. When adding a user, they get added to the shadow file with an exclamation mark (!) instead of an asterisk (*), so they are "...
8
votes
2answers
14k 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
1answer
43 views

Trying to connect to remote server via SSH but still prompts for password

I generated a ssh key pair with ssh-keygen, use ssh-copy-id to the server and checked that the public key was added to authorized_keys, but then when i try to connect with ssh -i ~/.ssh/MY_KEY user@...
0
votes
0answers
13 views

How do I create an exception to Pluggable Authentication for a user [on hold]

I want all policies of length to apply to all users, apart from one. How can I create this exception?
-1
votes
0answers
19 views

Inputting password on Firefox is slow [closed]

Whenever I have to input a password on Firefox ( I'm using UBUNTU 19 ) the inputs are delayed and it takes a great effort to input my password. I have no idea where to look. Has anyone else had the ...
7
votes
2answers
10k 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 ...
37
votes
3answers
6k views

When did Unix stop storing passwords in clear text?

When did Unix move away from storing clear text passwords in passwd? Also, when was the shadow file introduced?
83
votes
10answers
219k views

How to create SHA512 password hashes on command line

In Linux I can create a SHA1 password hash using sha1pass mypassword. Is there a similar command line tool which lets me create sha512 hashes? Same question for Bcrypt and PBKDF2.
87
votes
7answers
175k views

Disable a user's login without disabling the account

Let's say I create a user named "bogus" using the adduser command. How can I make sure this user will NOT be a viable login option, without disabling the account. In short, I want the account to be ...
-1
votes
2answers
79 views

What is the default password for a Linux Mint live usb

Im sure some else has had this problem before, but I can't seem to find a proper answer. What is the default password for a linux mint live usb? Most of the other answers say that my install would be ...
3
votes
2answers
3k views

Warn about password expiration without forcing change

It's pretty simple. I would like to figure out what combination of changes in /etc/login.defs and/or /etc/pam.d/system-auth-ac. I would need to perform to allow the following behavior: I want a user'...
0
votes
1answer
6k views

How to disable account expiration and mandatory change of password after it expires in linux?

I want to change the password expiration to non expire and for that i used below command [root@test-host ~]# chage -l test Last password change : password must be ...
0
votes
1answer
4k views

Setting up the superuser password for the first time

How can I set up the super user password for the first time in Zorin OS, since the installer didn't ask me to provide one. I have experience with Fedora and openSUSE, but they asked me for the ...
109
votes
8answers
231k views

Manually generate password for /etc/shadow

I need to manually edit /etc/shadow to change the root password inside of a virtual machine image. Is there a command-line tool that takes a password and generates an /etc/shadow compatible password ...
0
votes
0answers
56 views

Linux Tails + KeePassXC File synchronization

I use Linux Tails and other Linux distributions, where I use KeePassXC. Unfortunately, it almost impossible to synchronize the KeePassX database file to the cloud in the Tails distribution. (this file ...
0
votes
1answer
31 views

Password Settings of AIX

esaadmin: password = * dbahx: password = ************* sysgina: password = ************* fsecbp: password = C6qoi9yK.H0So Hi All, I am trying to understand what does password = **...
3
votes
2answers
2k views

Linux Mint MATE: Disable encrypted volume password dialog

I'm running the MATE edition of Linux Mint on my laptop. I have an external USB disk with a LUKS container on it. The USB disk is connected to the laptop's docking station. Whenever I connect the ...
0
votes
1answer
68 views

linux-deploy-root-access-problem-with-kali-linux

I have installed kali linux through linux deploy on my android phone. When i try to ssh into the kali linux it’s ask for password if i give the password which was entered before installing kali linux ...
0
votes
1answer
112 views

chrome does not save my passwords

When I had to login in a site, Chrome used to offer me a number of possible user names and later the password associated with the user I choose (provided that I saved the user-password association ...
0
votes
2answers
76 views

Using pass on an usb

I really like the way pass stores passwords but i want to know if i can use it to save from another location that isnt ~/.password-store (lets say a usb).
0
votes
1answer
69 views

What is AntiX's root default password?

Prompted for a system password on an AntiX Live USB/CD and it's not root...
9
votes
2answers
64k views

can't ssh into remote host with root, password incorrect

I have a remote host, previously I can ssh into it with root and password ssh root@remote_host or I ssh into it first using a regular user account ssh esolve@remote_host and then su root and input ...
0
votes
1answer
59 views

How to enable ssh for a user with root permissions?

I have added a user test with root permissions. In my sshd_config file I have kept permitrootlogin as No, to block ssh for root. I am not able to do ssh for root which works fine, but the issue is i ...
0
votes
1answer
26 views

Openssl forgot password

I’ve encrypted one file with des algorithm using openssl tool but I forgot my key . Is there any way to recover that key or get any hint or something?
0
votes
3answers
2k views

solaris 11.3 first time login

Dears, I just installed solaris ios on vmware and wanted to know the very first credentials to log into the system i assume the user is solaris but tried root or solaris for the password but with no ...
0
votes
1answer
29 views

Customize password request string

I'd like to know if there's a way to customize the sudo password request. The default string is: [sudo] password for USER: Is there a way to change that to some other custom string, like: Insert ...
0
votes
2answers
3k views

Password Reset on AIX machine trouble

Im trying to reset a user password locally using the root account. The user is adam. Everything looks ok when I type in passwd adam using the root account. It prompts me to enter new password, enter ...
0
votes
2answers
97 views

How insecure is it passing a password to curl via cat

I have a script which executes curl many times. I'd like to enter my password only once (so I don't want curl to ask for it on every execution). I don't want the password to appear in process list or ...
3
votes
2answers
28k views

vsftp user authentication problems

I configured my ftp user's home dir to /var/www and set a password but I cannot login with ftp 127.0.0.1, it keep giving me 530 Login incorrect. Why is this? I'm sure I have typed the password right. ...
1
vote
1answer
2k 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
16 views

After imaging Linux and restore are password broken but actually not

I have a weird issue on Centos 7.5-18.04 I have a freshly installed system with accounts added for ssh. The image is done with clonezilla. Restoring the image works fine but the passwords of the ssh ...
1
vote
0answers
58 views

Password does not work anymore

Today I took a look at the /etc/shadow file with the password-hashes without changing it but saving it again. After again starting my PC with Linux Mint 19.4 I entered my password and that also worked....
1
vote
0answers
28 views

How to set up SSH 2FA with either publickey+token or password+token?

I have tried to set up PAM authentication for SSH to a Ubuntu 18.04 server (by modifying the instructions in this guide). I am attempting to set the login so that any of these two combinations is ...
0
votes
1answer
641 views

how does ~/git-credentials file look like?

Let's say I have a git repository for e.g. - https://salsa.debian.org/shirishag75-guest/gradle-build-script- Now in my system I have - :~/games/gradle-build-script-/.git$ cat config [core] ...
-2
votes
1answer
54 views

Beeing root but without knowing password. Replacing binaries in /bin/ to bypass restrictions

I have an active root account, but I don't know my password. To be able to change my password or even to create another users (with the tool passwd) I need to know my password. So that creates a ...
-1
votes
2answers
99 views

What is mean “x” in second field of /etc/shadow file [duplicate]

I have content in shadow file: root:!:17777:::::: bin:x:14871:::::: daemon:x:14871:::::: mail:x:14871:::::: ftp:x:14871:::::: http:x:14871:::::: dbus:x:14871:::::: nobody:x:14871:::::: systemd-...
1
vote
4answers
4k views

Cannot reset root password via grub

I am using Redhat Linux 5. I forgot the root password i set while installing linux OS. After rebooting right after the installation, entering root password is needed of course. So the following is ...
7
votes
3answers
43k views

Change Password of a user in /etc/shadow

I would like to change the password of a user in the /etc/shadow. I can't use password changing programs like passwd. It must be done by editing the /etc/shadow. The /etc/shadow is on a mounted hard ...
0
votes
0answers
17 views

Is there any web application to store passwords to a .db file?

I am using Apache subversion to maintain repositories. I am trying to implement it using a MAC book and unfortunately I could not use apache svn modules since it is giving me some run time errors. I ...
2
votes
1answer
150 views

How to disable root password in NixOS?

I tried setting users.users.root.hashedPassword = "*"; similar to sudo passwd -d root or user { 'root': password => '*', require => Package[ruby-shadow], } in Puppet, but after sudo nixos-...
2
votes
0answers
57 views

User input in cronjob

I have created a script which calls another script.I'm implementing this via below cronjob 55 12 * * * cd /backup2 && ./script2.sh The another script ,I'm calling(restore1.sh) requires ...
1
vote
1answer
906 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
1answer
75 views

How to securely store password for use by mount

I would like non-root users to be able to mount certain drives on the local network (or have them be mounted automatically on log-in). To mount network drives (via cifs) a password is passed on over ...
0
votes
2answers
39 views

Is there a way to get the exact time of password expiration (aside from the date)

I can get the date with chage -l username, but I need to get the exact time. How can I get that?
1
vote
1answer
84 views

How to write an “expect” script that checks if the supplied password matches one of multiple possible passwords?

I want to change the password on my server. There are four possible passwords that should all be accepted for changing a password on the server. To achieve this I want write an "expect" script ...