Skip to main content

Questions tagged [passwd]

Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

like with passwd -S <user> showing the last time the linux login password was updated via passwd... is there a way in samba as root to show when the last time a valid samba user listed via ...
ron's user avatar
  • 9,175
-4 votes
1 answer
91 views

Disabled password on login with command sudo passwd -l user How do I retrieve the password?
MriLuigi's user avatar
1 vote
0 answers
113 views

I'm trying to programmatically change a user's password using chpasswd, but I'm getting the following error: /sbin/chpasswd <<< "0s22xmgW:<new_password>" chpasswd: (user ...
ealfonso's user avatar
  • 1,007
1 vote
0 answers
307 views

I have a piece of equipment running a yocto build. This build includes services like ssh-server, mysql, and ntp, with each run as their own users. mysql is UID 999, sshd is UID 998, etc. In my ...
Dave's user avatar
  • 45
1 vote
0 answers
151 views

I notice there are settings in /etc/pam.d/common-password to define minimum password strength. For example: ... password requisite pam_pwquality.so retry=3 maxrepeat=0 minlen=19 ucredit=-1 ...
Aidan Gallagher's user avatar
1 vote
1 answer
128 views

This is in RHEL-8.10 for what it's worth... in /etc/passwd I have ron:x:20000:100:me:/home/ron:/bin/bash so my uid is 20000, and my gid is 100 which as defined by convention in /etc/group is the ...
ron's user avatar
  • 9,175
0 votes
1 answer
94 views

In Google Compute Engine VM in /etc/passwd file i see an entry like this one: root:x:0:0:root:/root:my_logged_in_username_here. What could that mean? The last field is for user command interpreter as ...
Lyubomir's user avatar
  • 113
0 votes
0 answers
435 views

What is the correct syntax to use these bits of information from systemd manual: systemd-sysusers(8) will look for the credentials passwd.hashed-password., passwd.plaintext-password. and passwd.shell....
gcb's user avatar
  • 953
0 votes
1 answer
172 views

I have an encrypted hard drive. The hard drive, root user, and primary user all share the same password. I have successfully logged in but seem to have forgotten the password. I'm looking to limit the ...
mpr's user avatar
  • 1,204
8 votes
3 answers
10k views

My usual password just doesn't fit into its standards, and frankly this install doesn't need to be fort knox. Is there any way to disable them? edit: this helped me https://www.reddit.com/r/Gentoo/...
wtry's user avatar
  • 81
0 votes
2 answers
730 views

What is the practical difference between setting *LK* in /etc/shadow and setting /usr/sbin/nologon in /etc/passwd? When would we choose one over the other? When would we combine them?
Lyubomir's user avatar
  • 113
1 vote
3 answers
9k views

I recently changed my password on my VMware Photon OS host. Now I want to reset it to the old one again, but passwd does not let me do it and displays the following message: Password has been already ...
stackprotector's user avatar
0 votes
1 answer
1k views

I'm struggling with the following task for AuditD /etc/passwd should be monitored for any access doesn't matter if a cat or sudo cat is used...ok, easy. BUT I should also prevent auditd to log any ...
SirStephanikus's user avatar
8 votes
4 answers
5k views

After setting password expiration via: sudo chage -d 0 username Then changing the password and login as that user. When I type "passwd" and try to set the original password I receive message;...
johnnyhopper's user avatar
0 votes
1 answer
114 views

I want to know if there is a way to get the last password change date + time stamp ?
yolook_daemon's user avatar
10 votes
2 answers
2k views

I am testing if the passwd command could run if the setuid bit is disabled. I disabled the setuid by running the following command: chmod 0554 /bin/passwd After doing so, I tested if the passwd ...
Tomas 's user avatar
  • 141
0 votes
1 answer
2k views

How can I capture (if there is a log file somewhere) when a user changes their password or another user's password? I see this log but I can't determine whom change password for user XXXX Mar 31 12:41:...
abd kah's user avatar
0 votes
2 answers
355 views

I used the command sudo passwd -l on my own user account in Ubuntu and now I can't log in anymore. Is there any way to unlock that? I tried adding "!" in front of my password but it still ...
No Name's user avatar
  • 101
0 votes
1 answer
120 views

I am using Debian 11,set password with shadow. I random generate password into file pas: cat pas "Th3P@ssw0rd" When I update password to normal user has sudo privilege, sudo passwd username ...
kittygirl's user avatar
  • 111
3 votes
1 answer
3k views

My situation might not be typical, and this is a reverse shell I got. I find myself stuck in the root directory; I can't "cd" to change my current directory to anywhere. However, I can list/...
QIfan Guo's user avatar
  • 131
2 votes
1 answer
7k views

I have a user user1 which is part of wheel group and has all the root privileges . user1 is able to change password for user2 using the below command (My understanding is that here passwd is run as ...
meallhour's user avatar
  • 181
0 votes
0 answers
426 views

On my macOS machine, I tried something like: passwd derp After I input the old password and the new password, it shows the following: passwd: Password change failed because password does not meet ...
Abel Melquiades Callejo's user avatar
1 vote
0 answers
113 views

On Ubuntu 18.04 I am attempting to change my password with sudo passwd myusername I enter the new password and get this: Enter new UNIX password: Retype new UNIX password: fatal error: ...
Omroth's user avatar
  • 153
1 vote
0 answers
559 views

I have a RHEL 7.9 system which currently has identical system-auth and password-auth files located under /etc/pam.d/. That file is auth required pam_faillock.so preauth audit deny=3 ...
ron's user avatar
  • 9,175
1 vote
1 answer
984 views

using RHEL 7.9, I have local user accounts defined in /etc/passwd and /etc/shadow. my password changing process is to email users, when needed, a temporary password. as root I do passwd <username&...
ron's user avatar
  • 9,175

1
2 3 4 5