Re: fix usermod -l

2018-09-26 Thread Todd C. Miller
On Wed, 26 Sep 2018 10:51:28 +0100, Ricardo Mestre wrote: > While doing something else here I noticed that changing the login name of an > existing user with usermod -l the program gets a segmentation fault. > > This looks like it was introduced when millert@ changed pwcache and the fix > is a mat

fix usermod -l

2018-09-26 Thread Ricardo Mestre
Hi, While doing something else here I noticed that changing the login name of an existing user with usermod -l the program gets a segmentation fault. This looks like it was introduced when millert@ changed pwcache and the fix is a matter of changing getpwnam(3) to uid_from_user(3). OK? Index: u