Questions tagged [passwd]

passwd refers to the Unix command for changing a user's password and also the file in which users' login data is stored.

passwd refers to the Unix command for changing a user's password and also the file in which users' login data is stored.

116 questions
0
votes
0 answers

SSSD Linux passwd not working Windows Domain - Server does not support the requested control [1.3.6.1.4.1.42.2.27.8.5.1]

My linux box for some reason is not allowing to use the passwd command to change the user's Windows AD password. We can access the box using AD, run sudo using AD password, running id command I can see my AD groups, etc. so it looks fine but the…
0
votes
0 answers

Solution to generate clear password from private key+UUID and encrypted password from public key+UUID

I'm looking for a solution to Generate an encrypted UNIX password for a specific target using it UUID and a public GPG key Retrieve a target clear password from its UUID and the private GPG key I have performed a little schema with the two process…
0
votes
0 answers

Linux "passwd" command can not force expire the password for the LDAP

I have basic of setup of LDAP. Users can log and change of their password (passwd user_name) but when I am trying force expire the password: password -e uesr_name I can not do it. I got the error: does not exist in /etc/passwd. Where is the problem…
0
votes
1 answer

Update sudoers file in multiple servers with a bash script

I have 50 Linux servers and can login to the servers without root password (I know the password). Now I would like to add 3 lines in sudoers file on each servers. Obviously logging into 50 servers and adding lines are painful. Is there a different…
KKE
  • 135
  • 1
  • 4
  • 11
0
votes
1 answer

When I run `sudo passwd` I set my password and the script exits okay. Running `sudo chsh -s /bin/bash` immediately after fails

Long time lurker, first time poster. My linux server is behaving strangely. When I run sudo passwd, I can set my password up correctly. However, if I run sudo chsh -s /bin/bash, the command returns the error: chsh: PAM: Authentication failure When…
Alex
  • 19
  • 3
0
votes
1 answer

Superuser unable to change password of user on LDAP server

Just set up an LDAP server (sun) running Ubuntu 20.04 following the guide on Ubuntu Server Docs with TLS enabled with a bunch of users, groups, and automounts in database. Several clients (here: seca) running Ubuntu 20.04 use the server for…
marz_cyclone
  • 71
  • 1
  • 4
0
votes
1 answer

Allow sudo over SSH while forbidding TTY login

I want to lock users from local login (keyboard and monitor), but still allow remote logging with SSH. Easily achievable with passwd -l and ssh-copy-id. But what about sudo? I want to keep password for sudo, but not for local access. edit: system is…
kszonek
  • 1
  • 2
-1
votes
3 answers

What is default shell for users in /etc/passwd for Solaris 11?

For a Solaris 11 Server Config Review that I am doing, I have following lines in my /etc/passwd file: root:x:0:0:Super-User:/root:/usr/bin/bash daemon:x:1:1::/: bin:x:2:2::/usr/bin: sys:x:3:3::/: adm:x:4:4:Admin:/var/adm: lp:x:71:8:Line Printer…
Nirav Zaveri
  • 103
  • 1
  • 5
-1
votes
2 answers

What "wd" is supposed to mean from the utility tool passwd?

https://man7.org/linux/man-pages/man1/passwd.1.html What "wd" is supposed to mean in the name of the utility tool passwd? pass is for password - what about wd ?
-2
votes
1 answer

linux redhat + login prompt keep getting again and again

we installed new server redhat version - 6.7 from kick start, after installation complete successfully we get the login prompt but I am unable to login locally on my redhat linux 6.7 server. The login prompt keep getting again and again , and I cant…
dandan
  • 1,081
  • 4
  • 13
  • 21
-3
votes
1 answer

SSH with user root from 2 different stations both running passwd

A few days ago, we were connected to a xenserver through ssh (user root) from 2 different stations. And we tried passwd, and we changed the root password to 2 different passwords simultanously. And we were a little confused why it didn't ask the…
SonOfSun
  • 99
  • 6
1 2 3 4 5 6 7
8