diff --git a/library/system/user b/library/system/user index a6d3a0ec32..12b1a62d27 100644 --- a/library/system/user +++ b/library/system/user @@ -1186,6 +1186,7 @@ class SunOS(User): lines.append(line) continue fields[1] = self.password + fields[2] = str(int(time.time() / 86400)) line = ':'.join(fields) lines.append('%s\n' % line) open(self.SHADOWFILE, 'w+').writelines(lines) @@ -1272,6 +1273,7 @@ class SunOS(User): lines.append(line) continue fields[1] = self.password + fields[2] = str(int(time.time() / 86400)) line = ':'.join(fields) lines.append('%s\n' % line) open(self.SHADOWFILE, 'w+').writelines(lines)