Sample Header Ad - 728x90

Debian passwd package sources - Unable to find patch that modifies passwd utility options

0 votes
1 answer
59 views
I noticed passwd utility doesn't support the -s/--stdin option on Debian which allows to read password from standard input. With this option you can do something like echo mypassword | passwd -s mylogin to set password for specific login from script. I just wanted to try it but noticed it is not possible on Ubuntu nor Debian which is base for Ubuntu. It will print error that option is not recognized. So i went to Debian sources for **passwd** package (it's here https://salsa.debian.org/debian/shadow/-/tree/master/debian?ref_type=heads) and tried to find the patch that removes the option because in the original source code for passwd utility the option is still there (https://salsa.debian.org/debian/shadow/-/blob/master/src/passwd.c?ref_type=heads#L166) . **I can't find the patch in the repository, it looks like it's not there. Can anybody help me to find it?** I don't know the workflow that is used to patch the original source code but i expected the patch to be there because there is folder with patches (https://salsa.debian.org/debian/shadow/-/tree/master/debian/patches/debian?ref_type=heads) . Thank you.
Asked by designerrr (111 rep)
Jul 7, 2024, 06:06 PM
Last activity: Jul 7, 2024, 08:03 PM