adduser: close /etc/{passwd,shadow} before calling passwd etc.
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 14 Jul 2007 22:51:28 +0000 (22:51 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 14 Jul 2007 22:51:28 +0000 (22:51 -0000)
commit39125bec38ac3a13ae550ee7ba3e924a42a73e18
treefa3914ee20c10c198c771ed5e7081cc0e25f8cff
parent59a1f3045073c92c661035f87bdf7e28099358eb
adduser: close /etc/{passwd,shadow} before calling passwd etc.
Spotted by Natanael Copa <natanael.copa@gmail.com>
loginutils/adduser.c