Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #201117
| From | Mariusz Gronczewski <mgronczewski@efigence.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | "passwd username" asks for current password of user even tho I'm root |
| Date | 2018-10-10 16:50 +0200 |
| Message-ID | <wHnYd-YI-11@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi, On previous releases, and on our CentOS systems I could change password of user by just sudo-ing to root and typing "passwd testuser" In current Debian release, doing that asks me to specify that user password, which is pointless because: * I can access /etc/shadow anyway * I'm changing it because user forgot it Is there any way to set passwd (or PAM) to not ask root for current password on passwd-ing non-root accounts ? Cheers Mariusz -- Mariusz Gronczewski, Administrator Efigence S. A. ul. Wołoska 9a, 02-583 Warszawa T: [+48] 22 380 13 13 F: [+48] 22 380 13 14 E: mariusz.gronczewski@efigence.com <mailto:mariusz.gronczewski@efigence.com>
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
"passwd username" asks for current password of user even tho I'm root Mariusz Gronczewski <mgronczewski@efigence.com> - 2018-10-10 16:50 +0200 Re: "passwd username" asks for current password of user even tho I'm root Roberto C. Sánchez <roberto@debian.org> - 2018-10-10 16:50 +0200 Re: "passwd username" asks for current password of user even tho I'm root Hans <hans.ullrich@loop.de> - 2018-10-10 17:00 +0200 Re: "passwd username" asks for current password of user even tho I'm root Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2018-10-10 17:50 +0200 Re: "passwd username" asks for current password of user even tho I'm root Dennis Wicks <wix@mgssub.com> - 2018-10-11 00:20 +0200
csiph-web