Re: "passwd username" asks for current password of user even tho I'm root

2018-10-10 Thread Dennis Wicks
Mariusz Gronczewski wrote on 10/10/18 8:17 AM: > 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

Re: "passwd username" asks for current password of user even tho I'm root

2018-10-10 Thread Andrew McGlashan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 11/10/18 00:17, Mariusz Gronczewski wrote: > 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 speci

Re: "passwd username" asks for current password of user even tho I'm root

2018-10-10 Thread Hans
Am Mittwoch, 10. Oktober 2018, 15:17:11 CEST schrieb Mariusz Gronczewski: Hi, as a normal user you should be able to change your password using "passwd testuser". When you want to change an alien password,. obviously you should be root. Otherwise any user wopuld bve able to change anybodies pas

Re: "passwd username" asks for current password of user even tho I'm root

2018-10-10 Thread Roberto C . Sánchez
On Wed, Oct 10, 2018 at 03:17:11PM +0200, Mariusz Gronczewski wrote: > 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,

"passwd username" asks for current password of user even tho I'm root

2018-10-10 Thread Mariusz Gronczewski
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